Nguyễn Hào
New member
How do I copy a directory from one directory to another in Linux?
Answer
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 ).
Answer
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 ).