• 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
changing file name when copying a file in the same directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

changing file name when copying a file in the same directory


  • Subject: changing file name when copying a file in the same directory
  • From: Sandeep <email@hidden>
  • Date: Fri, 10 Jun 2011 12:07:53 -0700

Hi All,

I am trying to implement a functionality similar to one that we see in the Finder. can some one please let me know what are the methods that get called. I am looking at the finder functionality
where in if a user copies a file in the same directory then a new file is created with the sufix Copy 1, Copy 2, Copy3 etc. can someone please let me know if we can implement the same using NSFileManager or if there are any methods that help in doing the same.

Regards,
Sandeep.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: changing file name when copying a file in the same directory
      • From: Jerry Krinock <email@hidden>
    • Re: changing file name when copying a file in the same directory
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: NSInputStream created from NSData - expected it to close at end of data, did not happen
  • Next by Date: Re: NSInputStream created from NSData - expected it to close at end of data, did not happen
  • Previous by thread: Building, installing, and testing drivers
  • Next by thread: Re: changing file name when copying a file in the same directory
  • Index(es):
    • Date
    • Thread