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

ZFS syntax (updated)

/var/log/journal taking up lots of space

throttle traffic on apache