• 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: Um... How do you rename a file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Um... How do you rename a file?


  • Subject: Re: Um... How do you rename a file?
  • From: Ondra Cada <email@hidden>
  • Date: Fri, 26 Mar 2004 18:36:23 +0100

On Friday, Mar 26, 2004, at 17:48 Europe/Prague, p3consulting wrote:

(could be interesting to trace system calls to see what exactly movePath:toPath: does to fail where mv is successfull)

Let me guess: my money that mv just tries to 'rename', and goes to more complicated tricks only if failed. On the other hand, movePath:toPath: checks *first* whether the target exists, which would be quite all right... had the filesystem be, as God meant it, case sensitive.
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: Um... How do you rename a file? (From: p3consulting <email@hidden>)

  • Prev by Date: Re: Making an NSConnection from a BSD socket
  • Next by Date: Re: NSView and Scrolling
  • Previous by thread: Re: Um... How do you rename a file?
  • Next by thread: NSDictionary's isEqualToDictionary: method
  • Index(es):
    • Date
    • Thread