Find which files are shared in iCloud Drive This seems obvious, but can't figure it out. How can I find which files are shared to other people in iCloud drive? Finder shows individually a text under each shared file, but I would like to see a list of all shared files.

See more information about file share functionality (add people) on Apple Support Pages under Share files section where it says:


  You can allow people to view and edit files by sharing them using iCloud Drive.


If I share hundreds of files, after a while it will become hard to find and unshare files that no longer need to be shared. I'm questioning the auditability of the share functionality.
I'd like to have a robust method to find this out too. The only method I know is this: (bold is the key step, very verbose here to be understood by everyone)


go to the iCloud Drive folder you want to find shared files
search in this folder, by say, Cmd + F
make sure current directory is selected, not "This Mac"
search by string shared by me (quoted "shared by me" would not work)
hopefully all documents "shared by me" is shown, per document,


optionally, right click and click Show in Enclosing Folder, only in the enclosing folder you will be able to see the file is marked as "shared by me"
right click on the "Shared by me" file, Share &gt; Show People
select Share Options, choose Stop Sharing



This method is not robust however as you can imagine if a document has a name containing "shared by me" or so would match.

I tried checking the xattr without success. It will be great if there's a robust method be it command line or GUI.