Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

strip-components support #238

Closed
illiliti opened this issue Sep 26, 2020 · 0 comments · Fixed by #239
Closed

strip-components support #238

illiliti opened this issue Sep 26, 2020 · 0 comments · Fixed by #239

Comments

@illiliti
Copy link
Contributor

What would you like to have changed?

Add a way to strip top-level directories like GNU and BSD tar does

Why is this feature a useful, necessary, and/or important addition to this project?

In some cases this feature is needed to extract actual files without top-level directories. Would be awesome to have this feature natively 👍

What alternatives are there, or what are you doing in the meantime to work around the lack of this feature?

None (yet)

Please link to any relevant issues, pull requests, or other discussions.

POSIX shell implementation: https://github.com/kisslinux/kiss/blob/fc54435595bed7db083a358bd673f520b70447aa/kiss#L301

illiliti added a commit to illiliti/archiver that referenced this issue Sep 28, 2020
illiliti added a commit to illiliti/archiver that referenced this issue Sep 30, 2020
coolaj86 pushed a commit that referenced this issue Oct 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant