Fof, Apple does indeed 'cripple' the filesystem. Finder does a lot of juggling on top of the filesystem, where all kinds of (private) data is stored somewhere (secretly), whether in plists, private directories, files, extended attributes etc. This is all undocumented and subject to change. Lacking API's for developers. Hardly doable on CLI. As such I doubt a robust and reliable solution exists. As I quite often read about filesystem trickery, I'll keep your question in mind. In the meantime I'd suggest filing a complaint at Apple: if nobody does, nothing is going to change for the better.