copy directory 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