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