# If directory does not exist in the target location
------------------------------------------------------
cp -r /path/to/directory /path/to/folder
# Copy a directory with a new directory name
------------------------------------------------------
cp -r /path/to/directory /path/to/folder/NEW_DIR_NAME
0 Comments