I have a directory I want to rename without spaces. This is the path to the file with spaces /home/ebank36/minecraft/The Fall of Gondolin.
I want to rename that directory to TFoG so I would like it to look like
/home/ebank36/minecraft/TFoG.
I need to do this so I can move a file out of that directory and place it in /home/ebank36/minecraft.
"quote the whole path rather than escaping individual space characters. Use this instead:mv "/home/ebank36/minecraft/The Fall of Gondolin" /home/ebank36/minecraft/TFoG– kiri Sep 15 '13 at 23:49