Navigation Menu

Skip to content

Commit

Permalink
Added a small script to tidy away tmp, orig and rej files left by svn
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8458 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed May 19, 2008
1 parent 730a319 commit 50aef7d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions scripts/remove_svn_conflict_files.sh
@@ -0,0 +1,12 @@
#!/bin/bash

#
# A simple script to get rid of .orig and .rej files left in
# your repository by svn. It will request confirmation before
# deleting each file.
#
# Tim Sutton, May 2008

for FILE in `find . -name *.orig`; do echo "Deleting reject: $FILE"; rm -i $FILE; done
for FILE in `find . -name *.rej`; do echo "Deleting reject: $FILE"; rm -i $FILE; done
for FILE in `find . -name *.tmp | grep -v "\.svn"`; do echo "Deleting reject: $FILE"; rm -i $FILE; done

0 comments on commit 50aef7d

Please sign in to comment.