With archivemount, one can mount a zip file. Is there any way to treat a zip file just like a directory in dired?

The we wouldn't have to unzip the archive, which takes time and you probably need to clean up as well. Another alternative is mounting, but it takes up a mount point and you have to deal with clean ups.

A transparent mount would solve this, just like in HURD;)

1 Answer 1


This is built-in for some systems. Refer to:

C-hig (tramp)Archive file names

TRAMP offers also transparent access to files inside file archives. This is possible only on hosts which have installed GVFS (the GNOME Virtual File System), *note GVFS-based methods::. Internally, file archives are mounted via the GVFS ‘archive’ method.

See also https://en.wikipedia.org/wiki/GVFS

Obviously this isn't a regular filesystem, and so you can't do everything you could normally do in dired.


  • In short, if you want to see /path/to/file.zip in dired, open it like C-x d /path/to/file.zip/ in Emacs - note the trailing slash. This works on Linux only. Jun 10, 2023 at 7:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.