Is there a file manager like that?

Is there a terminal file manager that has good support for archives? The features I’d like are:

  • being able to enter archives like directories
  • shortcut to archive all selected files
savoy
link
8
edit-2
6M

If you like terminal programs, you can give nnn a try.

https://github.com/jarun/nnn

Fast, great feature set and keybindings, and very configurable! And you can either list the contents of am archive or mount it as a filesystem

@5G_technician
creator
link
26M

Thanks for the recommendation. Nnn is very fast and I like the text file buffer of selected files that you can edit in vim but I can’t figure out how to create a new archive. It’s not on the github page and I couldn’t find it in the help menu you get when you press “?”

savoy
link
26M

Which version do you have? I know earlier versions had constantly changing keybindings, but in v3.6 it shows z as archive. You can also use ] to open up a shell and run an arbitrary command, or write up a script to use as a plugin to archive/extract/etc.

@5G_technician
creator
link
2
edit-2
6M

Ok sorry I forgot less searches are case sensitive and didn’t try “Archive”, only “archive”. I have 4.0 on arch linux.

It works pretty good. Thank you

SeerLite
link
2
edit-2
6M

See here in the wiki, you have to export NNN_ARCHIVE. Then when you try to open it an archive you get the additional option to mount.

It uses archivemount under the hood (it’s gonna ask you to install it), and I guess this tool can also be used with other file managers. I’m gonna see if there’s some snippet to use it with the one I use (lf), or I’ll make one. I don’t know how I’ve been living without this for so long haha it’s gonna be so useful

@throwaway14
link
26M

There’s ranger which is great and very extendable.

The second case is covered verbatim on the Arch wiki using a custom command: https://wiki.archlinux.org/index.php/Ranger#Compression

SeerLite
link
2
edit-2
6M

EDIT: Ok I didn’t read the other response haha. nnn seems to be what youre looking for. Also archivemount can mount archives and so it’s file manager agnostic :P

I found this for 7z. Disclaimer: I haven’t tried it. Note that the readme seems to be outdated since it says nodejs while it’s actually rust.

As for a more general purpose file manager with this feature, I think there isn’t. But it’s such a good idea I don’t know why it hasn’t been made yet. Maybe make an issue about it in your favorite file manager’s issue tracker? You may even get a better alternative from the dev/community.

Or maybe the tool I linked above could be extended with other formats, and then that can be used from within existing file managers. Not as smooth but it could work I guess.

Do share if you find a better alternative!

@ajz
link
2
edit-2
3M

deleted by creator

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

  • 0 user online
  • 18 user / day
  • 54 user / week
  • 150 user / month
  • 421 user / 6 month
  • 4.16K subscriber
  • 1.39K Post
  • 4.26K Comment
  • Modlog