copy directory with all subdirectories linux code example Example: copy folder linux command line cp -R source_dir destination_dir