Skip to content

Instantly share code, notes, and snippets.

@dcasati
Created February 7, 2023 21:43
Show Gist options
  • Save dcasati/25be5997183b4e362d1eb729b384a13b to your computer and use it in GitHub Desktop.
Save dcasati/25be5997183b4e362d1eb729b384a13b to your computer and use it in GitHub Desktop.
removing AppleDouble files and extended attributes from a tarbal
# when creating a tarball on macOS you might want to exclude the
# AppleDouble files and xattr in your tarball
#
# here is an example:
tar --disable-copyfile --no-xattrs -cvzf capsh-0.1.1.tar.gz .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment