Quick Answer: How Do I Move an Entire Directory in Unix?
Contents to Move a Directory Using the Mv Command Pass the Name of the Directory to Move Followed by the Destination. How Do I Move an Entire Directory in...
Contents
To move a directory using the mv command pass the name of the directory to move followed by the destination.
How do I move an entire directory in Linux?
HowTo: Move A Folder In Linux Using mv Command
- mv documents /backups.
- mv * /nas03/users/home/v/vivek.
- mv /home/tom/foo /home/tom/bar /home/jerry.
- cd /home/tom mv foo bar /home/jerry.
- mv -v /home/tom/foo /home/tom/bar /home/jerry.
- mv -i foo /tmp.
15 сент. 2012 г.
Must Read
How do I move a directory in Unix?
mv command is used to move files and directories.
…
mv command options.
| option | description |
|---|---|
| mv -f | force move by overwriting destination file without prompt |
| mv -i | interactive prompt before overwrite |
| mv -u | update – move when source is newer than destination |
| mv -v | verbose – print source and destination files |