kube-dump icon indicating copy to clipboard operation
kube-dump copied to clipboard

Maybe change --absolute-names to -P

Open eurocoders-dev opened this issue 3 years ago • 1 comments

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

eurocoders-dev avatar Mar 05 '21 13:03 eurocoders-dev

ugh posted with the wrong profile ... this comment is just to subscribe to the issue from my personal profile.

atanas18 avatar Mar 05 '21 13:03 atanas18