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
    • 5G_technicianOP
      link
      fedilink
      arrow-up
      2
      ·
      4 years ago

      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 “?”

      • oldroad@lemmygrad.ml
        link
        fedilink
        arrow-up
        2
        ·
        4 years ago

        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_technicianOP
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          4 years ago

          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
        fedilink
        arrow-up
        2
        ·
        edit-2
        4 years ago

        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