Revision: 5498
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 12, 2008 16:57 by jhenry
Initial Code
dir ="path/to/files" Dir.new(dir).entries.each { |e| dirname = e.split(".") puts "wget -nd -k -r -P#{dirname[0]} http://localhost/path/to/dirs/#{e}" }
Initial URL
Initial Description
output can be run as a shell script. should be able to refactor this as a piped wget, i think
Initial Title
list directory and create wget calls to build standalone html dirs
Initial Tags
Bash, html, links, images
Initial Language
Ruby