#!/bin/bash n=$1; string=$2; start=$3; end=$4; link=$5; attrib=$6; mkdir "$n.$string" for i in $(seq -f %02.f $start $end); do wget -c "$link$i.jpg" -O "$n.$string/AK.$n""x$i.jpg"; done; ls -l "$n.$string";
if [[ $attrib == "" ]]; then zip -r "$n.$string.cbz" "$n.$string" rm -r "$n.$string" fi -- FOSS Nepal mailing list: [email protected] http://groups.google.com/group/foss-nepal To unsubscribe, e-mail: [email protected] Mailing List Guidelines: http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines Community website: http://www.fossnepal.org/
