bash copy folder to another location code example Example 1: copy folder linux cp -R dir1 dir2 Example 2: bash copy folder $ cp -r pics documents