move directory and contents
Is there a single linux command that will move a directory and its contents to a different physical location, i.e. into another directory?
|
yes, just "mv directory new_directory". nothing fancy at all.
|
Hi there,
Quote:
The mv command doesn't care whether the object you wish to move/rename is a single file or a directory. [X] Doc CPU |
Quote:
Quote:
Code:
~/Films/The Tragedy of Macbeth (1971) DVD9 $mv . /media/500gb/Films |
you can't move the directory you are in, as calling it "." means that the destination will be "." in the destination directory, which IS the directory itself, which makes no sense.
|
Quote:
Code:
mv "/home/g/Films/The Tragedy of Macbeth (1971) DVD9" /media/500gb/Films/ |
All times are GMT -5. The time now is 12:05 AM. |