ARCHIVEMOUNT(1) | General Commands Manual | ARCHIVEMOUNT(1) |
archivemount
—
mount an archive for access as a filesystem
archivemount |
[-hVdf ] [-o
option[,option]…]…
archive mountpoint |
Mounts, through fuse(8), a file tree contained
in archive on directory
mountpoint. umount
and
fusermount
-u
can undo this
mapping.
archivemount files.tar.gz mnt$
ls
files.tar.gz mnt/$
tar
-tf
files.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
-tf
voreutils.tar.gz src/ src/… man/ man/aliases man/basename.1 README.md$
-o
subtree
=man
voreutils.tar.gz mnt
$
ls
mnt
aliases basename.1See fuse(8) for a complete list of the baseline
FUSE options supported. The following options are handled specially by
archivemount
:
-h
,
--help
-V
,
--version
archivemount
, libarchive, and
FUSE to the standard output stream, then exit.
-r
,
-o
ro
,
-o
readonly
: Disable writes
entirely.-o
password
-o
nobackup
.orig
".
This flag removes that file afterward.-o
nosave
-o
subtree
=regex^.?
". Implies
-r
.-o
formatraw
-r
.Writing archives, probably.
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).
December 21, 2024 | archivemount-ng 1a-1 |