cp -R dirtocopy/ newdir/
Here's how to do the copy shown in the figure below. This copies the directory /home/jane, with all its files and subdirectories, and creates a subdirectory named jane in the current directory (.) :
cp -r /home/jane
cp -R dirtocopy/ newdir/
Here's how to do the copy shown in the figure below. This copies the directory /home/jane, with all its files and subdirectories, and creates a subdirectory named jane in the current directory (.) :
cp -r /home/jane
No comments:
Post a Comment