TarMode

TarMode is a neat mode that comes with Emacs that can view .tar archives, including compresssed .tar.gz etc if you use AutoCompressionMode. (For other archive types, like .zip, see ArchiveMode.)

Tar mode looks and operates a lot like DiredMode. You can view and edit files on a need-only basis. Or, if you want to extract all the files to the filesystem, tar-mode will help you do that, too. Impressively, tar-mode doesn’t require the tar command, it directly manipulates the file. However, this means that if you are accessing a remote .tar file using TrampMode, the entire file contents of the (possibly compressed) file must be transferred, rather than just the file listing and the contents of any files that you choose to view.

TarMode doesn’t allow you to interactively add files. You need to do this on the command-line.

You can view tar files recursively – open a tar file contained in a tar file, but you will not be able to save any edits you make to files in the nested tar archive.

Wishlist:


CategoryFiles