Statistics
| Revision:

root / tmp / org.txm.setups / directoryCleaner.sh @ 2167

History | View | Annotate | Download (168 Bytes)

1
#!/bin/bash
2

    
3
if [ $1 ]
4
then
5
 find $1 -name ".svn" -exec rm -rfv {} + &&
6
 find $1 -name "*~" -exec rm -rfv {} + 
7
else
8
 echo "need 1 arg : directory to clean"
9
 exit 1
10
fi