[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Making a file image with compression
From: |
Jack Dodds |
Subject: |
Making a file image with compression |
Date: |
Tue, 16 Feb 2021 17:15:37 -0000 |
User-agent: |
Mailpile |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
I am trying to add zisofs compression to an existing script that
uses xorriso to make a backup ISO image (NOT incremental) of
some files and directories. I have not been able to decipher the
documentation to figure out how to do this. Specifically, the
man page seems to say that that -exec is an xorriso option and
that
- - -exec set_filter --zisofs --
can be used to set up a compression filter. But when I do that I
get the message
xorriso : FAILURE : Not a known command: '-exec'
Here's the present xorriso command. What I want is to compress
the files with zisofs so that the ISO image can be mounted and
files read transparently.
The OS is Debian Buster.
xorriso -outdev $BACKUPNAME/$FILENAME".iso" \
-volid $BACKUPNAME-$BACKUPDATE \
-not_paths /home/jack/Downloads /home/jack/Music -- \
-not_leaf '*.iso' \
-not_leaf '*.vdi' \
-not_leaf 'Downloads' \
-add /etc /var/www /home/jack*
Is there an example somewhere that shows how to do this?
Thanks!
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEENLapiYQtDO3E5ZMAXLCrsOE3xPsFAmAr/awACgkQXLCrsOE3
xPupIgf7BLu1p/kJPTi/uv2azXZgypFPg8gEh9PwC4IF/uLiUVgMq1iqXLv0myx6
9fLskqEfnDucmRROO2QGbCGfFiO99ydGZXAeIOwgmDFuc3PNGBViaC+yEPi2gLjR
oI5doCf6DEZ6Ehydfl24WQzuyst0fTPEE8RwUQjX+EXanJCrqySizAtL7Gt/tuWT
XQ7c7pjZ3iA0fUANS/LYIXY1Cy+z1WlncKiqmS+DEp3iKx9CsHpVjdy+G+y6Yslh
Ijg4ganHJr21dBF/IeL5bfFbQK/7H0jyFp7qmuti8J7+K7ywypS+6q5o2WMgTHg0
fivcZi1b9qIbO7/XWKqDTggrYXtvQw==
=zXRw
-----END PGP SIGNATURE-----