Sample Header Ad - 728x90

How to XZ compress directory WITHOUT tar?

0 votes
1 answer
1250 views
I know how to compress a directory with xz using tar, but is it possible to compress a directory using xz WITHOUT tar? If I try:
xz -z myDir
Then the following error is retured:
xz: myDir: Is a directory, skipping
Asked by Fred (345 rep)
May 16, 2023, 08:04 PM
Last activity: May 16, 2023, 08:12 PM