Name

SplitForks

Synopsis

SplitForks { -u | [-v] pathname }

Copies the resource fork and HFS attributes from a file named filename into a separate file named ._ filename, equivalent to an AppleDouble Header file. The original file retains the resource fork and HFS metadata as well.

If pathname refers to a file, that file’s resource fork and metadata are split out. If pathname is a directory, SplitForks does a recursive descent into the directory, working on every file within it.

FixupResourceForks undoes the actions of SplitForks.

Options

-u

Print a usage statement to standard output.

-v

Enable verbose output.

Get Mac OS X Panther in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.