Re: A simple deletion script
Re: A simple deletion script
- Subject: Re: A simple deletion script
- From: Christopher Nebel <email@hidden>
- Date: Sun, 11 May 2003 21:45:08 -0700
On Sunday, May 11, 2003, at 08:13 PM, Doug McNutt wrote:
At 21:14 -0500 5/11/03, Jeffrey Berman wrote:
I've been relying on "rm" from a 'do shell script' command.
Does anyone know, for sure, if rm kills both forks of an HFS+ file?
Suppose the file has only a resource fork.
It depends on the disk format. If the format supports resource forks
directly, like HFS+ and AppleShare do, then yes. Otherwise (e.g., on
UFS or NFS), the resource "fork" is actually stored as a separate file,
and the Carbon File and Resource Manager calls know to handle them as a
unit. POSIX calls don't, though, so rm'ing the base file will leave
the resource file behind.
--Chris Nebel
Apple Development Tools
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.