convenient del libs script
This commit is contained in:
parent
1253b2d9af
commit
503a093b41
25
build/cmake/cmake-clean.sh
Executable file
25
build/cmake/cmake-clean.sh
Executable file
|
@ -0,0 +1,25 @@
|
|||
#!/bin/sh
|
||||
#< cmake-clean.sh for tidy - remove tidylib...
|
||||
|
||||
FILES="libtidy*"
|
||||
TMPCNT=0
|
||||
|
||||
for f in $FILES; do
|
||||
TMPCNT=`expr $TMPCNT + 1`
|
||||
echo "$TMPCNT: File $f"
|
||||
done
|
||||
|
||||
echo "Will delete the above $TMPCNT files ater a 5 seconds sleep!"
|
||||
|
||||
sleep 5
|
||||
|
||||
echo "Deleting the above $TMPCNT files!"
|
||||
|
||||
for f in $FILES; do
|
||||
rm -fv $f
|
||||
done
|
||||
|
||||
echo "all done..."
|
||||
|
||||
# eof
|
||||
|
Loading…
Reference in a new issue