hi
can anyone tell me how to zip a folder. redhat linux 7.0. say folder is conf
priyadarshi _____________________________________________________________
--- Philip S Tellis philip.tellis@iname.com wrote:
On Wed, 16 Jan 2002 acharya@dacafe.com wrote:
can anyone tell me how to zip a folder. redhat
linux 7.0. say folder is
[snip] philip........did he say atr or zip....:-/
btw pal.....if it's tar that u want to do then the below is the command else it's bash# zip file_name.zip *.*
Trevor Warren
tar zcvf tarfile.tar.gz foldername
info tar for more info.
-- What is research but a blind date with knowledge? -- Will Harvey
Meeting on 6th 4pm at IIT Mumbai. See http://www.ilug-bom.org.in/meet/ http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
===== ( >- LINUX, It's all about CHOICE -< ) /~\ __ http://www.qmailtheeasyway.com __ /~\ | ) / mailto: trevorwarren@yahoo.com \ (/ | |_|_ \ Urgent ->9820349221@maxtouch.co.in / _|_| ___________________________________/
__________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/
Sometime on Jan 16, Trevor Warren assembled some asciibets to say:
philip........did he say atr or zip....:-/
It doesn't matter. on linux, both zip and tar/gzip work. on windows, Winzip can handle zip as well as .tar.gz files.
besides, tar-gzip gives better compression than just zipping. No, it has nothing to do with the algorithms used, just the order.
zip does a compress first, concat second, tar | gzip does the tar - concat first, and compress second.
doing the concatenation first increases the entropy in the file, making it a better compressible.
compression is an entropy reducing process (and as such contributes to the longevity of the universe), and therefore, the more entropy present initially, the better the compression.
Philip