Skip to content
Permalink
Browse files
Added a small script to tidy away tmp, orig and rej files left by svn
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 50aef7d4e67e9aa038b10314bca16e620c9e63f8
Showing with 12 additions and 0 deletions.
  1. +12 −0 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.