Eliminar ficheros por extensión

find . -type f -name "*.bak" -exec rm -f {} \;

Hay otros ejemplos muy útiles aquí: http://www.cyberciti.biz/faq/linux-unix-how-to-find-and-remove-files/

This entry was posted in chuletas, one-liners. Bookmark the permalink.

Leave a Reply