I don't see in the docs so thought I'd ask ...

        NSFileManager* defaultManager = [NSFileManager defaultManager];
        [defaultManager removeItemAtPath:@"._*" error:&error];

I can hardcode for known "." files such as .Trashes

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.


-koko



































.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to