• 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: NSFileManager Wildcard Characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFileManager Wildcard Characters


  • Subject: Re: NSFileManager Wildcard Characters
  • From: email@hidden
  • Date: Tue, 28 Dec 2010 12:46:03 -0700

Ok ... UNIX is my friend, thanks!

- koko


On Dec 28, 2010, at 12:31 PM, Robert Martin wrote:

UNIX is your friend, since OSX is built on top of it. All its tools work just fine if you find yourself missing something in the frameworks.


On Dec 28, 2010, at 2:16 PM, Scott Ribe wrote:

On Dec 28, 2010, at 12:02 PM, email@hidden wrote:

I don't have any files with "._Name" so I cannot test but need to remove all hidden files from removable media, primarily USB sticks.

NSFileManager doesn't offer any remove that does wildcard matching. You'll have to enumerate the directory and find files that you want to remove, then remove each one explicitly.



_______________________________________________

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


References: 
 >Re: NSFileManager Wildcard Characters (From: Robert Martin <email@hidden>)

  • Prev by Date: Re: NSFileManager Wildcard Characters
  • Next by Date: Deleting root:wheel-owned file and stopping root daemon
  • Previous by thread: Re: NSFileManager Wildcard Characters
  • Next by thread: Deleting root:wheel-owned file and stopping root daemon
  • Index(es):
    • Date
    • Thread