how to copy contents of a directory to another directory in linux code example Example: copy all files from a folder to another ubuntu cp -a ./source/. ./dest/