• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: A simple deletion script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: A simple deletion script (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: Parsing Records and Lists
  • Next by Date: Re: A simple deletion script
  • Previous by thread: Re: A simple deletion script
  • Next by thread: A simple deletion script
  • Index(es):
    • Date
    • Thread