I don't know if this actually belongs here, maybe this开发者_如何学JAVA question is more suitable to superuser. Well, last week I've wrote a small shell-script, where I used the tar command. As I read the man on the opengroup page about tar, I saw that it was marked as legacy, and that it is recommended to not use it any more. Does anyone knows why? And what command should I use instead?
AFAIK, practically no one uses pax, as recommended by the document, which is dated 1997, BTW. Besides, current versions of tar can handle more than 8 GB, and my version of tar, at least, can hold Й.txt
, so the 7-bit ascii filename limit is obviously gone with the wind.
The answer is at the bottom of the page you mention: applications should migrate to use pax.
tar does not support files bigger than 8 gigabytes, while pax does, among other things, such as international character encoding, ACLs...
精彩评论