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