Find the answer to your Linux question:
Results 1 to 5 of 5
I am looking to create a shell script to download and image and then go onto the next and download it. say from <website>. com/family1.jpg it would download that pic ...
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Posts
    7

    Shell Script for Downloading Images

    I am looking to create a shell script to download and image and then go onto the next and download it.

    say from <website>. com/family1.jpg it would download that pic and then go onto family2.jpg etc etc.. until there are no more. Any help would be appreciated.

  2. #2
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    You would use a for loop to loop through each image and the wget utility to download the image
    Linux User #453176

  3. #3
    Just Joined!
    Join Date
    Nov 2009
    Posts
    7
    Would it be possible to get an example? Kinda new to the scripting language.

  4. #4
    Just Joined!
    Join Date
    Nov 2009
    Posts
    7
    Nevermind . I have figured it out, not to hard actually. Thanks for the heads up.

  5. #5
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    That's okay, glad you worked it out
    Linux User #453176

Posting Permissions

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