copy dir shell code example
Example 1: copy folder linux command line
cp -R source_dir destination_dir
Example 2: copy directory command in linux
$ cp -R <source_folder>/* <destination_folder>
cp -R source_dir destination_dir
$ cp -R <source_folder>/* <destination_folder>