bash cp whole directory code example
Example 1: copy directory command in linux
$ cp -R <source_folder> <destination_folder>
Example 2: linux make a copy of a folder in another foldedr
$ scp -r <source_folder> <destination_user>@<destination_host>:<path>