O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

FixupResourceForks

Synopsis

FixupResourceForks [-nodelete] [-nosetinfo] [-q[uiet]] pathname...

Recombines the resource fork and HFS metadata split out into a separate file (named ._filename) with the file's data fork (in a file named filename), resulting in a single multiforked file (named filename) with HFS attributes. As such, this works only on HFS and HFS+ volumes. It reverses the effect of running SplitForks.

FixupResourceForks does a recursive descent into the directory specified by pathname, working on every file within it.

Options

-nodelete

Prevent deletion of ._filename after recombination with filename.

-nosetinfo

Disable setting of HFS attributes on the recombined files.

-quiet

Suppress printing the name of each recombined file to standard output.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required