Results 1 to 1 of 1

Thread: bash command help

  1. #1
    Join Date
    Nov 2009
    Location
    Perak, Malaysia
    Beans
    128
    Distro
    Ubuntu 10.04 Lucid Lynx

    bash command help

    I've just got this bash command for downloading mangas.

    #!/bin/bash
    for i in `seq -f"%03g" 031 056`
    do
    wget -c "http://s1-a.animea-server.net/2944%2F2_VHXLV%2Fkankei01_$i.jpg"
    done

    now, what must I modify in the bash command so that I can specify a download directory and if possible also renaming all the files by numbers.

    EDIT: nvm, it seems I can do it by cd to the directory i want the files to be downloaded and then run the script
    Last edited by ALF102; September 7th, 2010 at 07:05 AM.
    Proud user of Ubuntu.

    "A good sword is the one that is left in its scabbard."
    -unknown-

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •