LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   to compress a file or folder (https://www.linuxquestions.org/questions/linux-newbie-8/to-compress-a-file-or-folder-434054/)

sanjay2004 04-11-2006 07:45 AM

to compress a file or folder
 
hai,

I need to compress (zip) the files or folder
in both Linux & win2k(dos), pl tell me the command with Example

Thanks in advance:scratch:

marozsas 04-11-2006 08:28 AM

Use the command zip. "zip zipfile src tmp" will create the file "zipfile.zip" with contents of dirs src and tmp.
This zip file can be read on WinXP machines without any additional software.


All times are GMT -5. The time now is 10:12 AM.