11

Is there a command-line program that determines the status of files (uploaded, uploading, ineligible, etc) in the iCloud drive?

For example, I would like to be able to use a program such as find to get a list of files that have not been successfully uploaded to iCloud drive.

1 Answer 1

13

You can use brctl status.

It outputs alot, but you can grep pretty easily, for example brctl status |grep needs-sync-up |cut -d'"' -f2 will show you all files waiting for being uploaded (without their path), or use brctl status |grep 'somefile.ext' for checking the status of somefile.ext.

See brctl --help for more.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .