How can we copy an entire directory under another directory?

How can we copy an entire directory under another directory?
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 ).
 

Tìm kiếm

Back
Top