linux copy all files and directories code example Example: linux copy all directory contents to another directory rsync -a source/ destination