Skip to main content
15 events
when toggle format what by license comment
Sep 8, 2020 at 9:39 comment added JeremyP As of 10.15.x the --disable-copyfile option of mdm's answer is probably better, unless you have a script containing tar commands which needs to be cross platform.
Jan 30, 2017 at 17:46 review Suggested edits
Jan 30, 2017 at 21:02
May 25, 2013 at 5:43 history edited Lri CC BY-SA 3.0
The script for deleting extended attributes was too prominent (there is also xattr -c)
Aug 6, 2012 at 0:10 history suggested Tyilo CC BY-SA 3.0
Added Mountain Lion
Aug 5, 2012 at 23:33 review Suggested edits
Aug 6, 2012 at 0:10
May 8, 2012 at 18:19 history edited Jesse Beder CC BY-SA 3.0
added 24 characters in body
May 8, 2012 at 14:44 comment added jjeaton FYI, The export line for Leopard also works for Lion.
Apr 1, 2011 at 22:33 comment added cregox That's true Jesse, they indeed have no meaning for other OS'es / filesystems. But the info is there and we can cat or type to see what's inside, at very least. And it's usually something simple text that was manually input there. I wouldn't throw it away for backing up but it can be trash in case you want to distribute something cross-platform and specially if it's there by mistake. Just saying the option to leave them is pretty valid.
Apr 1, 2011 at 21:22 comment added Jesse Beder @Cawas, the problem was that they showed up in the tarball, which I was then distributing cross-platform, and they have no meaning on a non-Apple operating system.
Apr 1, 2011 at 17:58 comment added cregox Another option is to let them be. It's a small print size and info that you're throwing away. It also only annoys who wants to see them and not get to learn what they mean. Those are not like freaking thumbnails (that do take considerable space) or Finder's DS crap (that's only good to finder) and if they exist is usually because they have relevant data.
Jun 18, 2010 at 15:14 comment added Georg Schölly Instead of exporting this variable to the whole system you can also use env COPYFILE_DISABLE tar -cf archive.tar my_folder/.
Dec 8, 2009 at 5:43 vote accept Jesse Beder
Oct 27, 2009 at 1:40 comment added Jonathan Leffler I have GNU tar 1.15.1 by default on MacOS X 10.5.8 (Leopard). The latest version from GNU is 1.22 (March 2009). Downloaded and built: it does not appear to have '--no-xattrs' when built on MacOS X.
Oct 27, 2009 at 1:21 history edited Jesse Beder CC BY-SA 2.5
edited body
Oct 27, 2009 at 1:12 history answered Jesse Beder CC BY-SA 2.5