linux copy folder with contents to remote server code example Example: copy folders linux cp -R source_dir destination_dir #example cp -R /etc /etc_backup