How to mount a zip file as a file system?
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).
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)