Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
Entertainment

Journal Porn Whitelist's Journal: A donated script 4

Thanks to an AC who donated this script:

#!/bin bash

for i in $(seq 1 210); do

wget http://www.8sluts.com/smb/a/suckmebitch$i.mpg
done

Instructions

  1. save this script to disk
  2. "chmod u+x script_name" to make the script executable
  3. ./script_name to run it

Total of 297 megs of video mpegs.

don't forget to remove the extra space that slashcode puts in the word "done" at the end of the script.

Total for all scripts so far: 606 megs.

Previous journal entry: http://slashdot.org/~Porn%20Whitelist/journal/92419

Next journal entry:
http://slashdot.org/~Porn%20Whitelist/journal/92580

This discussion has been archived. No new comments can be posted.

A donated script

Comments Filter:
  • curl -O http://www.8sluts.com/smb/a/suckmebitch[1-210].mpg

    (that's "curl space dash capital-Oh")
    • Yeah, but I'm so used to doing wgets :-) People can switch to whichever one they're most comfortable with (though I admit your solution is nicer, being a one-liner :-)*

      *I give credit where credit is due (all others pay cash :-).

      • And being a one-liner, you can skip all the 'save as a file, now chmod...' stuff as well. Curl isn't inherently better than wget, just different, and therefore sometimes one is better than the other. I also started off with wget, then found curl. For the kind of stuff I do, curl is often easier. It's handy to know a bit about both. It's definitely worth learning a bit about.

        Here's another handy tip: say you have a site with images in folders:
        site.com/images/1/img1.jpg
        /1/img2.jpg
        /1/img3.jpg
        /2/img1.jpg

Top Ten Things Overheard At The ANSI C Draft Committee Meetings: (5) All right, who's the wiseguy who stuck this trigraph stuff in here?

Working...