Fool's Gold

Posted on November 10, 2009 by Steve

Now that the old hecat webserver is in cold storage, I set out to recreate the wget script in a DOS batch file. After being spoiled by the innumerable tools in BASH, I feel like I'm trying to do a tune-up with a screwdriver. Nevertheless, I did manage to collect several dozens of mp3 files, and the 99% rule held true, leaving me with one keeper, "Surprise Hotel" by Fool's Gold.

For future reference, here is the much-simplified and less usable script.
do_wget.bat
set workingdir=C:\wget\
set wgetdate=%DATE:~10,4%%DATE:~4,2%%DATE:~7,2%
set logfile=wget%wgetdate%.log
wget -Q400m -nc -w2 -r -l2 -H -t1 -nv -nd -P 
   %workingdir%shells -np -A.mp3 -i %workingdir%mp3blogs.txt 
   -o %workingdir%logs\%logfile%

copy_empty.bat
FOR %%A IN (DIR /b SHELLS/*.mp3) DO copy empty.txt "SHELLS\%%A"

« Prev item • Next item »

Comments

No one has put a bit in.

Leave comment

You must be logged in as a member to add comment to this blog