• 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: Scott Ribe <email@hidden>
  • Date: Tue, 28 Dec 2010 12:16:11 -0700

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.

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

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: NSFileManager Wildcard Characters
      • From: Robert Martin <email@hidden>
References: 
 >NSFileManager Wildcard Characters (From: email@hidden)

  • Prev by Date: Re: Runtime Error: Incompatable applications
  • Next by Date: Re: NSFileManager Wildcard Characters
  • Previous by thread: NSFileManager Wildcard Characters
  • Next by thread: Re: NSFileManager Wildcard Characters
  • Index(es):
    • Date
    • Thread