114
Linux cp -r
Option ‘r’ with the copy command can be used to copy a directory including all its content from a source directory to the destination directory.
Syntax:
Example:
In the above example, we have copied directory ‘library’ to the destination directory /home/sssit/Documents. Here, all the contents of ‘library’ directory including its contents have been copied to destination directory.
Next TopicLinux copy multiple files