Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I rename a file?



On Sun, 02 Oct 2005 02:43:04 Laurence Harris wrote:

> The context is not relevant. What's relevant is that I wanted a test that
> would not involve any modifications on disk. Renaming and renaming back
> bumps the modification date of the parent folder,

Yes, unfortunately File Managers don't have true "rollback".

> which I don't want to do
> and don't need to do. I could save and restore that date, but I'd just
> rather not go down that road. I wrote something that tests the userAccess
> field and the locked bit and it seems to do what I need without modifying
> anything.

Ok. I'd also consider:

- volume software/hardware lock.

- files that reside on remote servers and that are opened (locally
or remotely): some systems (e.g. Win+NTFS) prohibit renaming opened
files.

Mike

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Can I rename a file? (From: Mike Kluev <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.