Add archive extension [DONE]

Questions, glitches, bugs and crashes
Locked
don
Posts: 134
Joined: Sat Jul 18, 2015 11:03 am
Location: Sydney, AU

Add archive extension [DONE]

Post by don » Sat Jul 23, 2016 7:34 am

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.

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Add archive extension

Post by mike » Sat Jul 23, 2016 10:53 am

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",

igoriokas
Posts: 3
Joined: Wed Jul 06, 2016 3:38 pm

Re: Add archive extension

Post by igoriokas » Sun Jul 24, 2016 7:33 am

Thanks, it was very helpful!
Is there a way to browse archive within archive?
Like, .war within .ear

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Add archive extension

Post by mike » Mon Jul 25, 2016 4:02 am

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.

User avatar
darek
Posts: 179
Joined: Thu Jul 16, 2015 4:50 pm
Location: Warsaw, Poland
Contact:

Re: Add archive extension

Post by darek » Mon Jul 25, 2016 8:32 am

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.

don
Posts: 134
Joined: Sat Jul 18, 2015 11:03 am
Location: Sydney, AU

Re: Add archive extension

Post by don » Wed Jul 27, 2016 1:43 pm

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..

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Add archive extension

Post by mike » Fri Jul 29, 2016 6:14 am

Don,
Config is located in ~/Library/Application Support/Nimble Commander/Config/Config.json
You just have to add this key into JSON file.

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Add archive extension

Post by mike » Thu Aug 25, 2016 2:56 am

Browsing of archives within another archive was added recently:
http://magnumbytes.com/forum/viewtopic.php?f=7&t=132

Locked