initial commit of file from CVS for smeserver-mock on Thu 26 Oct 11:20:16 BST 2023
This commit is contained in:
13
root/usr/bin/cleantree
Normal file
13
root/usr/bin/cleantree
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/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"
|
Reference in New Issue
Block a user