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

Enable Anydesk on Linux

throttle traffic on apache