How to mount a zip file as a file system?

1,322

Solution 1

Install the package avfs then execute:

mountavfs

Say you have a zip file in ~/Documents/file.zip, then

cd ~/.avfs/home/$USER/Documents
ls -l file.zip#/

You could also browse the content in Nautilus, but you need to add a trailing # character by hand to the path (Ctrl-L to access the address bar).

Solution 2

In Nautilus, right click on the archive and then click "Open with Archive Mounter", once you've done this, your archive will show up as a new “drive” in Nautilus. (check tutorial here)

Share:
1,322

Related videos on Youtube

Khaled HAMADMAD
Author by

Khaled HAMADMAD

Updated on September 18, 2022

Comments

  • Khaled HAMADMAD
    Khaled HAMADMAD over 1 year

    I am getting this error when I try to do the following:

    • accessing a library settings
    • accessing a workflow settings
    • accessing a list settings
    • accessing a task settings

    p.s.

    • I'm using SharePoint 2010 on Windows Server 2008 64-bit
    • I am using an Administrator account.
    • I recently installed the Active Directory on the server

    Regrds

  • nealmcb
    nealmcb over 9 years
    Very cool!! At the moment it supports floppies, tar and gzip files, zip, bzip2, ar and rar files, ftp sessions, http, webdav, rsh/rcp, ssh/scp. Quite a few other handlers are implemented with the Midnight Commander's external FS
  • Zakhar
    Zakhar over 5 years
    Nice! I was searching for a tool that could mount a rar split into several files, like File.part1.rar, File.part2.rar, etc... or the alternate chunk.rar, chunk.r00 chunck.r01, etc... Apparently avfs is not capable of doing that. Any other solution?
  • Henrique de Sousa
    Henrique de Sousa over 2 years
    Amazing! I had a virtual machine downloaded in zip that needed importing and this avoided me having to unzip dozens of gigs, all in less than 30 seconds. I love Linux :)