How do you zip files in Terminal or Unix on Mac OS 10.2?In: Apple and Mac |
[Edit] |
Answer
To zip just one file (file.txt) to a zipfile (zipfile.zip), type the following:
zip zipfile.zip file.txt
To zip an entire directory:
zip -r zipfile.zip directory
For more advanced options, check the man page of zip:
man zip
First answer by Pecunia. Last edit by Pecunia. Contributor trust: 40 [recommend contributor]. Question popularity: 31 [recommend question]
|
Research your answer: |
Can you answer other
questions about Macintosh computers?
- How come it always say The selected file couldnt be imported to use as your display picture Please be sure that the file is a valid picture format when I try to change my display picture for imac msn?
- The Arrangement tab of Displays preferences is hidden because this computer does not support an extended desktop but you have displayed two separate monitors on your ibook before What is wrong?
- What are the nutritious of apple?



