Tuesday, March 31, 2009

UNZIP all shell script

Below tiny script saved a lot of effort in last production cycle.

#to unzip files in a given folder.
FILES="*.zip"
for f in $FILES
do
echo "Processing $f file..."
unzip -o $f
done

No comments: