macostools
This module contains some convenience routines for file-manipulation on the Macintosh.
The macostools
module defines the following functions:
FSSpec
objects. If createpath is non-zero
dst must be a pathname and the folders leading to the
destination are created if necessary. The method copies data and
resource fork and some finder information (creator, type, flags) and
optionally the creation, modification and backup times (default is to
copy them). Custom icons, comments and icon position are not copied.
If the source is an alias the original to which the alias points is copied, not the aliasfile.
copy
, default 1 megabyte.
Note that the process of creating finder aliases is not specified in
the Apple documentation. Hence, aliases created with mkalias
could conceivably have incompatible behaviour in some cases.