• 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: Changing file & directory names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing file & directory names


  • Subject: Re: Changing file & directory names
  • From: Chris Suter <email@hidden>
  • Date: Sun, 2 Jul 2006 11:47:12 +1000


On 02/07/2006, at 11:39 AM, Dean Snyder wrote:

I wrote at 3:57 PM on Saturday, July 1, 2006:

So you're saying that there is no new file creation going on with
NSFileManager movePath? Then why do both the created and modified dates
of the just "moved" file equal the time of "moving" and not, for
example, the "real" created time?

I need to correct this.

If I change the contents of the file and save it (using NSTextView
writeRTFDToFile), but do not rename/move the file, then both the
creation date and the modification date are changed to reflect the time
the file was saved. That is clearly wrong behavior - only the
modification date should be changed.

What effect does the atomically flag have on it? If you see this behaviour with it set to YES, it wouldn't surprise me, but it shouldn't be the case with it set to NO.



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Changing file & directory names
      • From: Dean Snyder <email@hidden>
References: 
 >Changing file & directory names (From: Dean Snyder <email@hidden>)
 >Re: Changing file & directory names (From: Greg Titus <email@hidden>)
 >Re: Changing file & directory names (From: Dean Snyder <email@hidden>)
 >Re: Changing file & directory names (From: Sherm Pendley <email@hidden>)
 >Re: Changing file & directory names (From: Dean Snyder <email@hidden>)
 >Re: Changing file & directory names (From: Sherm Pendley <email@hidden>)
 >Re: Changing file & directory names (From: Dean Snyder <email@hidden>)
 >Re: Changing file & directory names (From: Dean Snyder <email@hidden>)

  • Prev by Date: Re: Changing file & directory names
  • Next by Date: Re: Changing file & directory names
  • Previous by thread: Re: Changing file & directory names
  • Next by thread: Re: Changing file & directory names
  • Index(es):
    • Date
    • Thread