delete files in bulk with spaces in their names

Different methods:

xargs -d "\n" -I {} rm \"{}\"

find . -name "*.txt" -print0 | xargs -0 rm

find . -name "*.txt" -delete

find . -name "*.txt" -exec rm {} +


Popular posts from this blog

Pause a program which is using too much CPU

throttle traffic on apache

/var/log/journal taking up lots of space