Linux Lite Forums

Full Version: how to download fullcircleissue through console
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

yrjo1

#!/bin/bash


echo -n "What is the issue number of the first Full Circle Magazine to download?"
read number

echo "Number is $number"





for  number in $number
    do
      wget  "http://dl.fullcirclemagazine.org/issue"$number"_en.pdf" --directory-prefix=/home/user/Downloads
    done

echo ""
echo "Complete!"
#Remeber to change user to your own username and make the file executable. name it for example fullcircle.sh in your favorite editor.