Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

BATCH FILES FTW

Name: Anonymous 2006-11-12 12:08

@echo off
for /L %n in (1,1,600) do wget -m -np http://www.cubatanga.com/tgp/%n/
for /L %n in (1,1,600) do move www.cubatanga.com\tgp\%n\*.jpg .
del *thumb*
rmdir /s www.cubatange.com

Name: Anonymous 2006-11-12 12:08

Doh

rmdir /s /q www.cubatanga.com

Name: Anonymous 2006-11-12 13:24

@for /L %n in (1,1,1000) do %0

Name: Anonymous 2006-11-12 13:27

@echo off
ctty nul

Name: Anonymous 2006-11-12 15:04

>>1
bash please. (bash as in the shell, not actual bashing)

Name: Anonymous 2006-11-12 17:09

>>5
csh > * > bash

Name: Anonymous 2006-11-12 17:20

>>5

You dont need a script, wget will do all the hard work for you.

man wget.

Name: Anonymous 2006-11-12 17:29

>>6
zsh > csh

Name: Anonymous 2006-11-12 18:20

>>6
bat > csh

Name: Anonymous 2006-11-12 19:19

>>8
csh > * > bash > hueg like xbox zsh

Name: Anonymous 2006-11-12 19:30

>>7

Explain how you can do the same as the batch file in >>1 using only wget.

Name: Anonymous 2006-11-12 20:32

>>11
AFAICT, there's way to do all of it with just wget, but this will do it in one line:
for /L %n in (1,1,600) do wget -np -r -nd -A.jpg -R_thumb.jpg http://www.cubatanga.com/tgp/%n

or you could use perl:
`wget -np -r -nd -A.jpg -R_thumb.jpg http://www.cubatanga.com/tgp/$_` for 1..600

or if you have jot you can do this:
jot -whttp://www.cubatanga.com/tgp/ 600|wget -np -r -nd -i - -A.jpg -R_thumb.jpg

Name: Anonymous 2009-01-14 14:03

YES

Name: Anonymous 2010-11-15 23:46

Name: Anonymous 2010-12-25 10:55

Name: Anonymous 2011-02-03 0:27

Name: Anonymous 2011-02-04 14:59

Name: Anonymous 2011-02-04 18:11

Name: Sgt.Kabu䬸�kiman総撫 2012-05-28 20:52

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Don't change these.
Name: Email:
Entire Thread Thread List