smeserver-mock/root/usr/bin/cleantree

14 lines
228 B
Plaintext
Raw Normal View History

#!/bin/sh
#find . -regex .*patch|cut -f2 -d/>~filetoremove
for f in `find . -regex .*patch |cut -f2 -d/`
do
echo "Processing $f"
# do something on $f
rm -f $f
cvs remove $f
done
cvs commit -m "cleaning tree from patchs"