From: Mike Frysinger Date: Thu, 30 Jun 2011 20:36:24 +0000 (-0400) Subject: update cvs-cleanup X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=44de795b68512e3febaffd2af531c142217657ec;p=home.git update cvs-cleanup --- diff --git a/.bin/cvs-cleanup b/.bin/cvs-cleanup index 7dcd3c9..bd6545c 100755 --- a/.bin/cvs-cleanup +++ b/.bin/cvs-cleanup @@ -1,6 +1,11 @@ #!/bin/bash find -name .cvsignore -exec rm {} \; -cvs up -I'!' | grep -v .cvsignore | awk '{print $NF}' | grep -v cleanup >& cvsup -rm -vrf $(& cvsup +cat cvsup | xargs rm -vrf +find '(' -name '*~' -o -name '*.o' -o '.#*' ')' -print0 | xargs -0 rm -vf cvs up > /dev/null rm -f cvsup