You Asked: How Do I Move a Directory to a Subfolder in Linux?
Contents How Do I Copy a Directory to a Subfolder in Linux? If You Want to Copy Directory, Including All Its Files and Subdirectories, Use -R or -R Option with...
Contents
How do I copy a directory to a subfolder in Linux?
If you want to copy directory, including all its files and subdirectories, use -R or -r option with cp command. The above command will create a destination directory and copy all files and subdirectories recursively to the /opt directory.
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 г.