Jump to content

Command Crate ¿about?

Forcefully delete all PDF files (find, xargs)

find . -name "*.pdf" -type f -print0 | xargs -0 /bin/rm -f

Finds all .pdf files and deletes them forcefully, using xargs to handle filenames with special characters.

file management [kb:12]