shell script copy files from one folder to another with all internal folders code example Example: copy all files from a folder to another ubuntu cp -a ./source/. ./dest/