copy all contents of a directory linux to another code example Example: copy contents of directory to another directory linux cp -a /source/. /dest/