Re: NSFileManager Wildcard Characters
Re: NSFileManager Wildcard Characters
- Subject: Re: NSFileManager Wildcard Characters
- From: Robert Martin <email@hidden>
- Date: Tue, 28 Dec 2010 14:27:05 -0500
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