Zip a folder unix




















A directory picker should be opened as you can see in the marked section of the screenshot below. The Zip archive should be extracted in that directory as you can see in the marked section of the screenshot below.

You can extract the Zip archive using the command line interface CLI. First navigate to the directory where you want to extract the Zip archive with the following command:. I often find myself trying to zip the modified files in my work directory -- either to copy all the modified files to another sandbox work directory or to preserve them for a short while because I want to undo some of the changes.

In that case, I copy the list of modified files to a temporary file and use zip with the option -. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Learn more. Ask Question. Asked 10 years, 11 months ago. Active 1 year, 10 months ago. Viewed 2. How can I create and extract zip archives from the command line? Improve this question. Steven D There's no problem with answering your own questions but not as part of the question itself, since that breaks down the whole community-votes-on-the-best-answer advantage of SO.

In addition, this is probably better suited for superuser since it's not programming related. Where will you document how to get online and check SO if you forget your login?

Using SA for a note like this helps other people too, as I see it. Add a comment. Active Oldest Votes. To compress: zip squash. Improve this answer. Justin Ethier Justin Ethier 16k 9 9 gold badges 40 40 silver badges 55 55 bronze badges. I personally only ever use the zip -r9 archive.

Just as a side note: zip can create many different flavors of. ZIP archives, as well as use many different compressors. Related Articles. Table of Contents. Improve Article. Save Article. Like Article. Last Updated : 19 Feb, Previous Gzip Command in Linux. Next tar command in Linux with examples. Recommended Articles. Submit Next Question. By signing up, you agree to our Terms of Use and Privacy Policy. Forgot Password? This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy.

By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy. Popular Course in this category.

Course Price View Course. Free Software Development Course. Login details for this Free course will be emailed to you.



0コメント

  • 1000 / 1000