So I need to compress a directory with max compression.
How can I do it with
xz? I mean I will need
tar too because I can't compress a directory with only
xz. Is there a oneliner to produce e.g.
the best is (I checked)
tar's lowercase j switch uses bzip, uppercase J switch uses xz.
The XZ_OPT environment variable lets you set xz options that cannot be passed via calling applications such as tar.
This is now maximal