Created
October 12, 2022 20:45
-
-
Save 0scvr/9e0abe4560e42e5ab1238945bab7a8d5 to your computer and use it in GitHub Desktop.
macOS Automator workflow to extract archives in current directory.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in "$@" | |
do | |
fdir="$(dirname "${f}")" | |
/usr/local/bin/7zz e "$f" -o"$fdir" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Requires 7zz (7-zip CLI) ->
brew install sevenzip
Create an Automar workflow like so:
