kube-dump
kube-dump copied to clipboard
Maybe change --absolute-names to -P
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 -tfExtract: 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
ugh posted with the wrong profile ... this comment is just to subscribe to the issue from my personal profile.