How to extract files from archive, instead of entering into it?
Shift+Enter open it in finder, extracted.
But i expect "extract to folder"
Extraction?
Re: Extraction?
Currently this operation is not implemented, the only route is to open the archive and to copy it's contents to somewhere.
In theory I can add a shortcut to this action consisting of two steps (opening and copying) and wire it to some menu item.
BTW, by "extract to folder" you mean a current folder, right?
In theory I can add a shortcut to this action consisting of two steps (opening and copying) and wire it to some menu item.
BTW, by "extract to folder" you mean a current folder, right?
-
- Posts: 102
- Joined: Tue Jun 28, 2016 6:17 pm
- Location: NN, Russia
Re: Extraction?
mike, yes,
extract to subfolder named as archive name in the current folder.
extract to subfolder named as archive name in the current folder.
Re: Extraction?
I want the extraction operation.
Re: Extraction?
It works with SHIFT+ENTER. The macOS default is that it will open with Archive Utility, but in my case archives are mapped to The Unarchiver. Extracted to folder named after the archive's original filename. The only addition would be to do it all in Nimble Commander, but I'm dealing with so many archive types, not just zip, but rar, 7z, tbz, gz etc., the best solution is probably still to open it with a third-party unarchiver… unless you want include support for all kinds of archive types. You should also note that The Unarchiver comes with its own CLI, so it's easy to use a shell script as a Nimble Commander tool, and assign a keyboard shortcut, e.g.: https://theunarchiver.com/command-line
Code: Select all
#!/bin/bash
for archive_path in "$@"
do
parent_dir=$(dirname "$archive_path")
unar -q -r -d "$archive_path" -o "$parent_dir" || osascript -e 'beep' &>/dev/null
done