Photos

TorgoX on 2004-01-03T04:28:15

Dear Log,

As a bit of fun, I added a "download photo set" option to my minimal little photo gallery program, is seen here

Adding this feature was as pretty much as simple as print "Content-type: archive/tar\n\n"; exec "tar", "c", @files;

Zip would be nicer than tar, but there's no InfoZip equivalent of "tar c ...files...". Ahwell.


Sure there is

Robrt on 2004-01-04T04:08:49

zip -q - *.jpg

Re:Sure there is

TorgoX on 2004-01-04T06:25:26

Wowza, I read the man page until my eyes bled and I swear the only examples of "-" output were where the input was a stream too. Thanks, now I've switched the photo page to send zips. It seems to work perfectly! Because you're a superstar.