Linux Ubuntu Copy Files and folders cp command

Published: 31 August 2019
on channel: Native Smart IT
69
2

cp [OPTION] [SOURCE] [DESTINATION]

Options
-a : Preserve the specified attributes such as directory an file mode, ownership, timestamps, if possible additional attributes: context, links.
-v : Verbose output.
-r : Copy directories recursively.

Copy Exapmple1 into Exapmple2
cp -avr /var/Example1 /var/Example2

Copy content of Exapmple1 into Exapmple2
cp -avr /var/Example1/* /var/Example2


Watch video Linux Ubuntu Copy Files and folders cp command online without registration, duration hours minute second in high quality. This video was added by user Native Smart IT 31 August 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 69 once and liked it 2 people.