copy the contents of a directory linux code example
Example 1: copy directory command in linux
$ cp -R <source_folder> <destination_folder>
Example 2: copy directory command in linux
$ cp -R <source_folder>/* <destination_folder>
$ cp -R <source_folder> <destination_folder>
$ cp -R <source_folder>/* <destination_folder>