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

unsquashfs: Add --path-filter to limit extraction #237

Merged
merged 2 commits into from
May 11, 2023

Conversation

wcampbell0x2a
Copy link
Owner

@wcampbell0x2a wcampbell0x2a commented May 9, 2023

  • Add --path-filter. For instance, when given "/usr/bin/", it will parse whatever files exist in "/usr/bin" such like "/usr/bin/*". It will also correctly put that file with the correct file permissions and modes for /, /usr/, and /usr/bin. If given an exact file, only return that file (with correct parent nodes)

See #234

@wcampbell0x2a wcampbell0x2a force-pushed the 234-unsquashfs-extract-single-file branch 3 times, most recently from 56cdb2d to 758b910 Compare May 9, 2023 23:03
- Add --path-filter. For instance, when given "/usr/bin/", it will parse
  whatever files exist in "/usr/bin" such like "/usr/bin/*". It will
  also correctly put that file with the correct file permissions and
  modes for /, /usr/, and /usr/bin. If given an exact file, only return
  that file (with correct parent nodes)
- Wrap clap --help at 120
@wcampbell0x2a wcampbell0x2a force-pushed the 234-unsquashfs-extract-single-file branch from 758b910 to 540b40e Compare May 9, 2023 23:22
@wcampbell0x2a wcampbell0x2a merged commit b97e366 into master May 11, 2023
@wcampbell0x2a wcampbell0x2a deleted the 234-unsquashfs-extract-single-file branch May 11, 2023 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant