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