Your Question: How Do I Copy a Directory from One User to Another in Linux?
Contents How Do I Copy a File from One User to Another in Linux? How Do I Copy a File/Folder from Another User’s Home Directory in Linux? Use Sudo Before Cp...
Contents
How do I copy a file from one user to another in Linux?
How do I copy a file/folder from another user’s home directory in Linux?
- use sudo before cp , you’ll be asked for your password, if you have access to sudo , you’ll be able to do that cp . – alexus Jun 25 ’15 at 19:39.
- See Copy file from user to another in Linux (on U&L) for more answers (using sudo ). –
3 нояб. 2011 г.
How do I copy a directory from one directory to another in Linux?
Copy a Directory and Its Contents ( cp -r )
Similarly, you can copy an entire directory to another directory using cp -r followed by the directory name that you want to copy and the name of the directory to where you want to copy the directory (e.g. cp -r directory-name-1 directory-name-2 ).