---
title: "Recursively delete .svn directories"
date: "2013-04-25"
path: "/132-recursively-delete-svn-directories.html"
section: "/ramblings"
aliases:
  - "/132"
  - "/132-recursively-delete-svn-directories"
  - "/132.html"
  - "/ramblings/132-recursively-delete-svn-directories.html"
---

The fastest way I have found of finding (and then deleting) .svn directories is to run the following:

```
find /home/domain/public_html -type d -name .svn
```

And if you need to delete the found lines use:

`find /home/domain/public_html -type d -name .svn -exec rm -rf {} \;`
