Why is the tar command marked as "legacy"?

I do not know if this is really here, maybe this question is more suitable for superuser. Well, last week I wrote a small shell script where I used the tar command. When I read the person on the opengroup page about tar , I saw that he was marked as a legacy and that it is not recommended to use it anymore. Does anyone know why? And which command should be used instead?

+3
source share
2 answers

AFAIK, virtually no one uses pax, as recommended in a 1997 document, BTW. In addition, current tar versions can handle more than 8 GB, and my tar version can at least contain .txt, so the 7-bit ascii file name limit obviously goes away with the wind.

+3
source

The answer is at the bottom of the page you mentioned: applications should switch to using pax .

tar does not support files larger than 8 gigabytes, and pax , among other things, for example, international character encoding, ACLs ...

+2
source

Source: https://habr.com/ru/post/1754762/


All Articles