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.

3
  • 1
    The script removes resource forks from files on the local disk. They usually serve a purpose (such as changing a certain file's associated application), so this should come with a big warning.
    – Daniel Beck
    Commented Mar 19, 2011 at 19:59
  • The script doesn't help me. It removes the files from the disk, not from the tar archive. Turns out that I don't have the resource files on my disk. But they're being put in the archive. And unlike zip files, you can't just remove files from a tar archive.
    – vy32
    Commented Mar 20, 2011 at 2:42
  • (bah, timeouts) Actually, you can if using pretty much any tar but the BSD libarchive-based one (this includes Mac OS X), but may well not be reliable; installing GNU tar is often a good idea. (It is, however, painful. I think you need to list all of them and then pass those names on the command line.) Also, the resource forks technically are on disk, but on HFS+ they are stored in extended attributes; the ._ files are OS X's way of storing resource forks in places that don't support extended attributes.
    – geekosaur
    Commented Mar 20, 2011 at 16:58