4 ms·
> macOS tar had the same results when using the appropriate sorting flag. No, macOS has the same results when using gnutar which provides sorting option. bsdt
by masklinn 6y ago
> macOS tar had the same results when using the appropriate sorting flag.
No, macOS has the same results when using gnutar which provides sorting option.
bsdtar (which macOS provides out of the box) has no such option. It just stores files in whichever order you provide them (on the command-line, via the CLI) or it finds them (for recursive tar, so whichever order the directory returns them in).