From 503a093b418643cbeca25e7578de9818d0ec1697 Mon Sep 17 00:00:00 2001 From: "Geoff R. McLane" Date: Fri, 2 Oct 2015 18:54:25 +0200 Subject: [PATCH] convenient del libs script --- build/cmake/cmake-clean.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 build/cmake/cmake-clean.sh diff --git a/build/cmake/cmake-clean.sh b/build/cmake/cmake-clean.sh new file mode 100755 index 0000000..68f2a1b --- /dev/null +++ b/build/cmake/cmake-clean.sh @@ -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 +