Verzeichnisse mit bestimmten Namen löschen

This article is from 2005 and has been archived. It's old and probably outdated.

Unter Linux/Unix kann man so beispielsweise überflüssige .svn Dateien rekursiv löschen:

$ find /path/to/dir | grep ‘.svn’ | xargs rm -Rf

Achtung – Der Befehl fragt nicht nach, sondern löscht, so wie es ihm gesagt wird. Also gut im Vorfeld überlegen, was man anrichten könnte.

Jan Beilicke

About the author

Jan Beilicke is a long-time IT professional and full-time nerd. Open source enthusiast, advocating security and privacy. Sees the cloud as other people's computers. Find him on Mastodon.