Skip to content

Instantly share code, notes, and snippets.

@0scvr
Created October 12, 2022 20:45
Show Gist options
  • Save 0scvr/9e0abe4560e42e5ab1238945bab7a8d5 to your computer and use it in GitHub Desktop.
Save 0scvr/9e0abe4560e42e5ab1238945bab7a8d5 to your computer and use it in GitHub Desktop.
macOS Automator workflow to extract archives in current directory.
for f in "$@"
do
fdir="$(dirname "${f}")"
/usr/local/bin/7zz e "$f" -o"$fdir"
done
@0scvr
Copy link
Author

0scvr commented Oct 12, 2022

Requires 7zz (7-zip CLI) -> brew install sevenzip

Create an Automar workflow like so:
automator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment