Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| student:zip:creating [2022/07/11 16:39] – bernstdh | student:zip:creating [2025/01/26 10:47] (current) – bernstdh | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | |||
| ===== Creating a .zip File ===== | ===== Creating a .zip File ===== | ||
| Line 48: | Line 47: | ||
| - Click on the first file or directory/ | - Click on the first file or directory/ | ||
| - Command-click on any other files or directories/ | - Command-click on any other files or directories/ | ||
| - | - Right-click on one of the selected files and pull down to < | + | - Right-click |
| To create a '' | To create a '' | ||
| Line 57: | Line 56: | ||
| | jar -cvf // | | jar -cvf // | ||
| + | |||
| + | Note that if you use the GUI-based approach, the resulting '' | ||
| + | |||
| + | < | ||
| + | zip -r dir.zip . -x .* -x __MACOSX | ||
| + | </ | ||
| + | |||
| + | will create a '' | ||
