How can I delete all unversioned/ignored files/folders in my working copy?
If I have a working copy of a Subversion repository, is there a way to delete all unversioned or ignored files in that working copy with a single command or tool? Essentially, I'm looking for the SVN analogue to git clean . Either a command line or GUI solution (for TortoiseSVN) would be acceptable. Stefan Using TortoiseSVN: right-click on working copy folder, while holding the shift-key down choose "delete unversioned items" svn status --no-ignore | grep '^[I?]' | cut -c 9- | while IFS= read -r f; do rm -rf "$f"; done This has the following features: Both ignored and untracked files are