Bulk delete files with spaces in their name
Different methods:
xargs -d "\n" -I {} rm \"{}\"
find . -name "*.txt" -print0 | xargs -0 rm
find . -name "*.txt" -delete
find . -name "*.txt" -exec rm {} +
Different methods:
xargs -d "\n" -I {} rm \"{}\"
find . -name "*.txt" -print0 | xargs -0 rm
find . -name "*.txt" -delete
find . -name "*.txt" -exec rm {} +