Jan
Jan

Reputation: 117

Create a tar.xz file on command line

How can I compress a tar file into a tar.xz file on Windows?

I converted my folder into a tar file as follows:

  1. Selected the file
  2. Right-clicked one of the highlighted items
  3. Clicked add to archive
  4. Choose tar from the archive format drop-down menu

Upvotes: 3

Views: 7123

Answers (2)

Étienne
Étienne

Reputation: 5013

tar is now available natively on Windows 10, just open cmd.exe and you can create a tar.xz file with tar -cJf <archive.tar.xz> <files>

Upvotes: 4

user11475741
user11475741

Reputation:

You can do thease ones
- Download 7zip then pack and unpack zip file
https://www.7-zip.org/
- Download Linux subsystem for Windows (MSYS,Cygwin, Virtual Machines) https://learn.microsoft.com/en-us/windows/wsl/install-win10#enable-the-windows-subsystem-for-linux-feature-gui
http://www.cygwin.com/ http://www.mingw.org/wiki/msys

Upvotes: 0

Related Questions