Copy all Txt Files

Tagged with: , , , , , ,

Find and copy all files with ‘.txt’ extention from a directory to another


find /home/binnyva -name '*.txt' | xargs cp -av --target-directory=/home/backup/ --parents

Leave a Reply