Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 128657

A type of file compression used to save space for storage or transfer. Very common due to built in support in both the Mac OS and Windows OS.

1 vote

How do I zip a folder using the command line while maintaining its file structure?

Now, the zip manual is full of cruft but long into the read you'll find- " zip will store the full path (relative to the current directory).". … cd /Users/admin/Downloads zip -r downloads Backup mv -- downloads.zip some/other/location cd - First we change directory to /Users/admin/Downloads We name the archive (downloads) and .zip will be added …
fd0's user avatar
  • 11.1k
3 votes
Accepted

How to pass path of selected file from Finder to Automator Shell script

Add cd "$(dirname "$f")" before the unzip line. for f in "$@"; do cd "$(dirname "$f")" unzip -o "$f" done or without changing to the directory, use the -d option [-d exdir] An …
fd0's user avatar
  • 11.1k
128 votes
Accepted

How can I run unzip silently in terminal?

As stated in the manual, -q (quiet) or -qq (even quieter). unzip -qq filename
fd0's user avatar
  • 11.1k