From d29a50ab9bd3ee804ea727a70e0f8f61ccf148b5 Mon Sep 17 00:00:00 2001 From: timlinux Date: Fri, 1 Aug 2008 09:10:46 +0000 Subject: [PATCH] Small helper script to remove junk from svn checkout tree git-svn-id: http://svn.osgeo.org/qgis/trunk@8955 c8812cc2-4d05-0410-92ff-de0c093fc19c --- scripts/remove_non_svn_files.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 scripts/remove_non_svn_files.sh diff --git a/scripts/remove_non_svn_files.sh b/scripts/remove_non_svn_files.sh new file mode 100755 index 00000000000..dd2f88913b6 --- /dev/null +++ b/scripts/remove_non_svn_files.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# +# A simple script to get rid of files that are not +# managed by svn. It will request confirmation before +# deleting each file. +# +# Tim Sutton, May 2008 + +for FILE in `svn status |grep ^? | awk '{print $2}'`;do rm -i -r $FILE; done