xargs
The xargs
command will run a command multiple times.
# Remove all .png files in the currect directory
find . -name "*.png" | xargs rm -rf
The xargs
command will run a command multiple times.
# Remove all .png files in the currect directory
find . -name "*.png" | xargs rm -rf