transfer folder folder linux cmd code example
Example 1: copy folder linux
cp -R dir1 dir2
Example 2: copy directory command in linux
$ cp -R <source_folder>/* <destination_folder>
cp -R dir1 dir2
$ cp -R <source_folder>/* <destination_folder>