ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

This manual page is associated with the Mac OS X developer tools. The software or headers described may not be present on your Mac OS X installation until you install the developer tools package. This package is available on your Mac OS X installation DVD, and the latest versions can be downloaded from developer.apple.com.

For more information about the manual page format, see the manual page for manpages(5).



FIXUPRESOURCEFORKS(1)     BSD General Commands Manual    FIXUPRESOURCEFORKS(1)

NAME
     /System/Library/CoreServices/FixupResourceForks -- Join AppleDouble files into two-fork HFS resource
     files.

SYNOPSIS
     /System/Library/CoreServices/FixupResourceForks [-q[uiet]] [-nosetinfo] [-nodelete] path ...

DESCRIPTION
     FixupResourceForks is to SplitForks what matter is to antimatter.  Given one or more directories that
     reside on an HFS or Extended HFS ("HFS+") volume, it scans those directories for AppleDouble files and,
     if found, rejoins them into two-fork resource files.  The resource fork data can then be accessed with
     normal Carbon Resource Manager calls, be processed with DeRez(1), and accessed from the POSIX file sys-tem system
     tem interface through the ..namedfork/rsrc path mechanism.

     /System/Library/CoreServices/FixupResourceForks takes the following flags and arguments:

     -q[uiet]
              Suppress verbose diagnostics to standard output.

     -nosetinfo
              Do not set file system metadata (type, creator, flags, permissions) from the data in the
              AppleDouble file.

     -nodelete
              Leave the AppleDouble files in the directory after copying their resource data into the
              resource fork of the main file.

     path ...
              One or more directory paths.  Note that FixupResourceForks only acts on entire directories,
              not in individual files.

FILES
     foo     Data fork of file 'foo'

NOTES
     SplitForks will fail with error 2 if the designated file is not on an HFS or Extended HFS file system
     volume.

SEE ALSO
     FixupResourceForks(1), MvMac(1), CpMac(1)

STANDARDS
     Consult RFC 1740 for details on AppleSingle/AppleDouble formats.

Mac OS X                        April 12, 2004                        Mac OS X

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.