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