#!/usr/bin/env bash
cd mqueue-client
deleted=0
for i in `ls`
do
rm -f $i
percentage=$(bc <<< “scale=2; ($deleted / 1035435) * 100”)
((deleted++))
echo “Deleted $i. Files deleted $deleted. $percentage% complete.”
done
Click to rate this post!
[Total: 0 Average: 0]