Hi,
trying to use the tool under MacOS (provided by default with bsdtar) is giving the following error when using archive options:
tar: Option --absolute-names is not supported
Usage:
List: tar -tf
Extract: tar -xf
Create: tar -cf [filenames...]
Help: tar --help
The shorthand flag for absolute names on both GNU Tar and BSD Tar is -P .. however BSD Tar doesn't have the long option name --absolute-names. Otherwise, we can use GNU Tar by installing it with Homebrew by executing brew install gnu-tar .. and then replace tar with gtar inside kube-dump. So either -P or gtar is needed for MacOS for archive options to work.
Thanks
Hi,
trying to use the tool under MacOS (provided by default with bsdtar) is giving the following error when using archive options:
The shorthand flag for absolute names on both GNU Tar and BSD Tar is -P .. however BSD Tar doesn't have the long option name
--absolute-names. Otherwise, we can use GNU Tar by installing it with Homebrew by executingbrew install gnu-tar.. and then replacetarwithgtarinside kube-dump. So either-Porgtaris needed for MacOS for archive options to work.Thanks