Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maybe change --absolute-names to -P #14

Open
eurocoders-dev opened this issue Mar 5, 2021 · 1 comment
Open

Maybe change --absolute-names to -P #14

eurocoders-dev opened this issue Mar 5, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request MacOS

Comments

@eurocoders-dev
Copy link

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

@atanas18
Copy link

atanas18 commented Mar 5, 2021

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

@WoozyMasta WoozyMasta self-assigned this Mar 16, 2021
@WoozyMasta WoozyMasta added the enhancement New feature or request label Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request MacOS
Projects
None yet
Development

No branches or pull requests

3 participants