Page 1 of 1

Add archive extension [DONE]

Posted: Sat Jul 23, 2016 7:34 am
by don
Good day.

Quite often I need to look in ZIP and JAR files.
ZIP works out of the box.

What do I need to do to enable JAR?

Apologies if I am missing something obvious.

Re: Add archive extension

Posted: Sat Jul 23, 2016 10:53 am
by mike
Hi,

Well, basically you always can force NC to try to open an archive by cmd+down arrow.
If you want to change archives extensions whitelist, you need to manually change something in a config:
filePanel->general->archivesExtensionsWhitelist

Code: Select all

            /**
             * Which extensions should be treated as potential archives when deciding what to do upon Enter key pressed
             */
            "archivesExtensionsWhitelist": "zip, tar, pax, cpio, xar, lha, ar, cab, mtree, iso, bz2, gz, bzip2, gzip, 7z, rar",

Re: Add archive extension

Posted: Sun Jul 24, 2016 7:33 am
by igoriokas
Thanks, it was very helpful!
Is there a way to browse archive within archive?
Like, .war within .ear

Re: Add archive extension

Posted: Mon Jul 25, 2016 4:02 am
by mike
igoriokas wrote:Is there a way to browse archive within archive?
Like, .war within .ear
That's not supported currently.
I want to implement this functionality in some future, but frankly not so sure if this feature might be useful.

Re: Add archive extension

Posted: Mon Jul 25, 2016 8:32 am
by darek
Total Commander does it and I've used it a few of times (i.e. zipped APK which has zipped game data inside), but it's definitely a low priority thing.

Re: Add archive extension

Posted: Wed Jul 27, 2016 1:43 pm
by don
CMD - Down Arrow is my friend.

Where is the config file BTW. I remember it is THE config option now, but I did not pay attention as to where it was located.

Nothing in ~ or in ~/.config that I could identify as files config..

Re: Add archive extension

Posted: Fri Jul 29, 2016 6:14 am
by mike
Don,
Config is located in ~/Library/Application Support/Nimble Commander/Config/Config.json
You just have to add this key into JSON file.

Re: Add archive extension

Posted: Thu Aug 25, 2016 2:56 am
by mike
Browsing of archives within another archive was added recently:
http://magnumbytes.com/forum/viewtopic.php?f=7&t=132