Moving folders in Terminal [duplicate]
By Gabriel Cooper •
I'm trying to move a folder into another folder in terminal, but when I enter this line:
mv South_America /North_AmericaSouth_America just completely disappears. It didn't move into the North_America folder? or go into my trash.
How do I move a folder?
32 Answers
you are doing it wrong, you are trying to move a file inside / folder without root permissions
for you try getting your current directory by
pwdand then try moving the files using
mv <folder to move> <destination>try using relative locations ie:
mv /home/<user>/South_America /home/<user>/North_America/for more information about the mv command type in the terminal
man mvor
mv --help 1 mv South_America /North_America will move a folder called South_America on your current directory to a folder called North_America on your root folder (/).
To avoid this, you don't need to put a slash (/) before the second path.
More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"