Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • 2
    Maybe you can write a script for use with --command that will do the actual file/directory creation using the data provided by tar. Might a bit too much effort comparing to just running find . -type f -exec chmod a-x {} + afterwards. As for "because I don't know upfront what will be the name of the folder that tar generates", you can always use --transform to change the path to what you want. Commented Oct 28, 2023 at 5:33