Feed on
Posts
If you want to delete, for example, only .bak files throughout a directory tree you can try with the following command: $find . -name *.bak -exec rm {} \; Using the same approach you can solve more complex problems. For example you can delete recursively all directories older than one week:$ find . [...]