Re: show/compare compression algorithm/level
Denis Corbin <[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.dar.support |
|---|---|
| Organization | http://dar.linux.free.fr/ |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 23/06/2019 20:06, Matus UHLAR - fantomas wrote: >> On 21/06/2019 19:53, Matus UHLAR - fantomas wrote: >>> Hello, >>> >>> is it possible when listing dar archive to show the >>> compression algorithm and level used for files? >>> >>> and when merging archives, e.g. creating decremental archive, >>> does dar detect the same file even if it's compressed using >>> different algorithm/level? > > On 21.06.19 23:48, Denis Corbin wrote: >> dar -l <archive> -q >> >> will let you see the compression algorithm used, but not the >> compression level. For that you can use for example >> '--user-comment %c' at archive creation time (let you refer to >> the man page for this option details) and see what was the >> command line used to create the archive. > > so, only one compression scheme can be used per archive? Yes for now: once a compression algorithm has been selected you can define which file to compress and which file not to try compressing. The archive format has room to have compression algorithm and compression level per file, but so far this has not been founded very useful. What is your use case for such feature? Regards Denis -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEOzEprx3d76WjfYGPCDGwvQPYsYIFAl0RC1MACgkQCDGwvQPY sYKBZw/8CvCt6gbpkzVWabibTX/XH+JLq235yTSfrTI7xSVm9fuWLNfr2SjD4UFM XVJ2cU+NVNI/afpB3meczPIi1imMejETYampQwkf/m5fxaMQCOqdmpoC/NW+nNS+ Lg0N3nsG5CFelwpLIikNZmwlGDwF9YtV+TH38VEbBKulML39qXWAv7N6F2/0wfvA Tq+uYIAhPUPkTXIGidbJI2Pgddk99pJkmAE+0p51IghXalMK3baJEffBEJhz1/C2 IOkeyI1/DEPYpx+cX9yIfP+UbqCMK13OHMpJOPApRg+SjtAFXXHblYglzQFNOPqO CRZZybzegdS9MYNCvRr+pZHc22b/BBXxy+Gshh/B89jCPDl6RWuKlAdOY5B+pko3 OXPBCTWgRei6sJX7R31k51lRBi3E3T5sv6DkCJfD8lvpP3JzpWejIZIV9geGvzNJ xp3rCmarBYufqkdkSR6BUSnw8kP8k9toeGAEyu44YBCnqZqI/DpMfvWr/GRW2MFp Xr/b4hcjd8QCYzbzb4xWbGKvR0tnMyVxfSc2HI7yUA1NjUFa4M49jhhs/Rm5OiEA nrQrgqDCy+H6CCCzuL+KnB98cM/pJdpspSk/E4I4crQMaUA1Z2MCb2IdhCo0xTEL HGBKRHjD1mMrLzRzhzpsU87nWroHbvDH4wl3Flf01smkFw7mvP0= =Yngl -----END PGP SIGNATURE-----