ubuntu copy folder contents code example
Example 1: copy folder ubuntu
$ cp -r /source_directory /destination_directory
Example 2: copy all files from a folder to another ubuntu
cp -a ./source/. ./dest/
$ cp -r /source_directory /destination_directory
cp -a ./source/. ./dest/