Re: [Web-ftp] Re: New Web-FTP features?
Status: Beta
Brought to you by:
aball
From: Dan N. <dn...@al...> - 2004-03-05 15:47:35
|
In the last episode (Mar 05), Anthony R. J. Ball said: > > > - In graphics arts, we use macintosh and pc, so when we download many > > files a tar compression don't match, only a zip compression work for > > us. > > Tar works ok in a PC... winzip unzips it, I know... > No idea about Mac... > I tried to do zip but could not figure out how to stream it, > which is necessary in this application. It's in the manpage :) A single - is treated as either stdin or stdout, depending on where it is in the commandline. "zip - myfile.txt" will send its zipfile to stdout. "zip - -" basically acts like gzip, but emits a zipfile. "zip - outfile.zip" will compress stdin and create outfile.zip Note that lines 2 and 3 do not know the input filename and will use "-" instead. -- Dan Nelson dn...@al... |