What I am doing:
XZ_OPT='-T0 -9 -vv' tar -vvcJf ~/backup.tar.xz ...FILES
I doubt if tar really pass the given options, I have tried those things:
- I used
-vvinXZ_OPT, but there is no message fromxzin the output, neither--verbose - I also use
ps aux | grep xzto see iftarwillspawnanother process forxz, but I didn't see thattarcreate any process.
Questions
- Does
XZ_OPTenvironment really work? How to verify it? - Why can't I find
xzprocesses duringtarexecution? Doestarreally spawn process to compress files?
Environment
$ xz --version
xz (XZ Utils) 5.2.5
liblzma 5.2.5
$ tar --version
bsdtar 3.3.2 - libarchive 3.3.2 zlib/1.2.11 liblzma/5.0.5 bz2lib/1.0.6