14 lines
228 B
Plaintext
14 lines
228 B
Plaintext
|
#!/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"
|