.DS_Store files, dirContentsAtPath? (newb)
.DS_Store files, dirContentsAtPath? (newb)
- Subject: .DS_Store files, dirContentsAtPath? (newb)
- From: Chris Paveglio <email@hidden>
- Date: Tue, 23 Dec 2008 12:31:26 -0800 (PST)
I need to use directoryContentsAtPath to do a simple count of files in a directory. But sometimes I get an incorrect number (vs the Finder's display), because there is a .DS_Store file in the folder. Is there a way to ignore invisible files? Is there something like directoryContentsAtPath:ignoringInvisibleFiles or some other filter?
(newb, so please explain any suggestions fully, thx!)
Thanks,
Chris
_______________________________________________
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