table of contents
| ARCHIVEMOUNT(1) | General Commands Manual | ARCHIVEMOUNT(1) |
NAME¶
archivemount —
mount an archive for access as a
filesystem
SYNOPSIS¶
archivemount |
[-hVdf]
[-o
option[,option]…]…
archive
mountpoint |
DESCRIPTION¶
Mounts, through
fuse(8), a file tree
contained in archive on directory
mountpoint.
umount and
fusermount
-u can undo this mapping.
EXAMPLES¶
archivemount files.tar.gz mnt$lsfiles.tar.gz mnt/$tar-tffiles.tar.gz file1 file2$
$ ls mnt
file1 file2
$ echo
zupa >
mnt/file3
$ rm
mnt/file1
$ umount
mnt
$ ls
files.tar.gz files.tar.gz.orig mnt/
$ tar
-tf
files.tar.gz
file2 file3archivemount$tar-tfvoreutils.tar.gz src/ src/… man/ man/aliases man/basename.1 README.md$
-o
subtree=man
voreutils.tar.gz mnt
$ ls
mnt
aliases basename.1OPTIONS¶
See fuse(8)
for a complete list of the baseline FUSE options supported. The
following options are handled specially by
archivemount:
-h,--help- Write usage and all available options to standard error stream, then exit.
-V,--version- Write version of
archivemount, libarchive, and FUSE to the standard output stream, then exit. -r,-oro,-oreadonly: Disable writes entirely.-opassword- Prompt for archive passphrase.
-onobackup- When saving writes, the original
archive is moved to
"archive
.orig". This flag removes that file afterward. -onosave- Allow writes in memory, but don't actually write them out on unmount.
-osubtree=regex- Hide files not matching regex,
and on those that do match, remove the matched prefix (cf. second
example above). regex is a basic
regular expression that behaves as-if prepended with the equivalent of
"
^.?". Implies-r. -oformatraw- archive is actually a compressed file,
made available under
mounpoint/saved-filename
or
mounpoint/data.
Implies
-r.
BUGS¶
Writing archives, probably.
ARCHIVE FORMATS¶
See
libarchive(3) for a
definitive list, but all kinds of
tar/ustar/pax/cpio
archives, 7-Zip, ISO9660, ar,
and RAR/Zip may be read. These may be compressed with
gzip(1),
xz(1),
zstd(1), &c. and
are processed transparently. The same applies for writing (except you
can't write RARs).
SEE ALSO¶
| May 14, 2025 | archivemount-ng 1b-1 |