bsdtar : jcf and --use-compress-program-bzip2 produce different files
- by Valerio Schiavoni
These two commands produce files that are slightly different in size.
In particular:
tar --use-compress-program=pbzip2 -cf old_logs.tbz2 1tree_* 4tree_* 8tree_*
The file old_logs.tbz2 is 100557548 bytes large.
The command:
tar jcf old_logs.tbz 1tree_* 4tree_* 8tree_*
produce the file old_logs.tbz that is 98783046 bytes large.
Where the difference in the two files originate from ?
I'm using bsdtar 2.8.3 - libarchive 2.8.3 on mac osx 10.8.5.