bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug - GNU tar port for Windows does not support the lz4 compression algo


From: abcedy sou
Subject: Bug - GNU tar port for Windows does not support the lz4 compression algorithm
Date: Sun, 7 Aug 2022 15:58:26 +0300

Hello,
With GNU tar on Linux you can run tar -I lz4 to run tar with the lz4 compression algorithm, given that lz4 is installed.
In the Windows port, when trying to run tar -I lz4, I get the following error:
tar: invalid option -- I

It seems like the -I alias to --use-compress-program is not recognized by GNU tar for Windows if tho it is recognized by GNU tar for Linux (https://man7.org/linux/man-pages/man1/tar.1.html)

Moreover (and this is a different bug), when trying to use the --use-compress-program flag instead, It does recognise it as a valid flag, but produces the following error:
tar: Cannot fork: Function not implemented
Seems like the ported C code (AFAIK) is trying to make the syscall fork(), which has is not implemented in Windows thus creating the error.

The error occurred on windows when trying to run:
tar --use-compress-program lz4 -cf [PATH]\temp.tar.lz4  .

Can those two bugs be fixed?
Thanks

reply via email to

[Prev in Thread] Current Thread [Next in Thread]