linux copy folder contents to another folder ubuntu code example
Example 1: copy folder ubuntu
$ cp -r /source_directory /destination_directory
Example 2: copy folder in ubuntu
cp -r /path/to/directory /path/to/location/new-name
$ cp -r /source_directory /destination_directory
cp -r /path/to/directory /path/to/location/new-name