Copy a folder into another folder in Linux
$ cp -avr /tmp/source/ /tmp/destination
The above command will copy the Folder named "source" into destination folder named "destination"
The switches are:
- a: Retain attributes
- v: Verbose
- r: Recursively
The above command will copy the Folder named "source" into destination folder named "destination"
The switches are:
- a: Retain attributes
- v: Verbose
- r: Recursively
Comments