]> git.wh0rd.org - home.git/blob - .bin/cvs-cleanup
better cvs ignore
[home.git] / .bin / cvs-cleanup
1 #!/bin/bash
2 find -name .cvsignore -exec rm {} \;
3 cvs up -I'!' | grep -v .cvsignore | awk '{print $NF}' | grep -v cleanup >& cvsup
4 rm -vrf $(<cvsup) `find -name '*~' -o -name '*.o' -o -name '.#*'`
5 cvs up > /dev/null
6 rm -f cvsup