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