lunes, 8 de septiembre de 2014

Delete files from subdirectories


Delete files of a given type:


(example with *.files):


find . -name \*.swp -type f -delete



Delete files by name:

find . -name "file_name.ext" -delete

No hay comentarios:

Publicar un comentario