After a little more investigation, I did find a hack.
It turns out that .iCloud files are actually property list files, and you can read them using the low-level file API.
For example, I have a file named 02.data on my iCloud drive that's 134MB. It's placeholder file (.02.data.icloud) contains this:
{
NSURLFileResourceTypeKey = NSURLFileResourceTypeRegular;
NSURLFileSizeKey = 134210392;
NSURLNameKey = "02.data";
}
Which is exactly the info I was looking for!
No let's hope this doesn't change with the next OS! :P
Topic:
App & System Services
SubTopic:
General
Tags: