I'd assumed there would be some way of filtering out all these invisible files. Do I have to check individually by name for all the ones which don't have "." prefixes and don't (seem to) have the kIsInvisible flag?
You'll also want to skip 'special' Unix files. But that's easy, because they usually cause an error when you try to create an FSRef for them. I'm passing all files on the system through the -isVisible filter, and I'm not seeing any errors.
You'll also want to skip 'special' Unix files. But that's easy, because they usually cause an error when you try to create an FSRef for them.