copy to folder code example Example 1: copy folder linux cp -R dir1 dir2 Example 2: terminal copy directory $ cp -R <source_folder>/* <destination_folder>