-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Aram Wool wrote: > hi, I'm using wget with this url: > > http://www.twis.org/audio/podpress_trac/web/147/0/TWIS_2007_09_11.mp3 > > the directory named 147 increases by 1 each week, corresponding to an mp3 > with a new date. I can use macros to automatically deal with a changing > date, but haven't been able to find out how to make wget go to directory > 148 the following week, etc. without manually changing the url. I'd expect > there's an easy solution to such a simple problem.
Well, Wget's not really meant to do this; this is really more of a shell-scripting/batch-file problem. A relatively simple solution would be to have a cronjob (Unix) or scheduled task (Windows?) update the number in a file, and use that file to construct the URL and invoke Wget. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer... http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG8FqN7M8hyUobTrERCMPkAJkBqtRGzxNIOTFc1X69ummPq7g5fQCeMUuA I7ibiNa+qxUDq8om8k2V1FI= =kLg4 -----END PGP SIGNATURE-----
