linux cp directory and files 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_1> <source_folder_2> ... <source_folder_n> <destination_folder>
Example 3: copy directory command in linux
$ cp -R <source_folder>/* <destination_folder>
Example 4: cp directory linux
cp -R path_to_source path_to_destination/