[Pythonmac-SIG] move/rename files w resource forks

Paul Berkowitz berkowit at silcom.com
Mon Nov 15 18:15:51 CET 2004

On 11/15/04 9:06 AM, "brad.allen at omsdal.com" <brad.allen at omsdal.com> wrote:

> I read somewhere that the "mv" command doesn't properly handle files with
> resource forks. Is this likely to be true with Python's os.rename ? If so,
> what is the recommended method to move or rename files? I'd prefer not to
> use MvMac since most of the computers I administer do not have the Apple
> developer tools installed.

ditto -rsrc 

will copy files complete with resource forks, on all Macs - no special tools
required. Then rm the original.

Paul Berkowitz

More information about the Pythonmac-SIG mailing list