Hello,
Is there any way to identify the state of the OneDrive files ( programmatically / on terminal ) on both MAC and windows
In Windows, we observed the following file attributes set for OneDrive files
1. A - ARCHIVE
2. L - SYMBOLIC LINK
3. O - ONLINE ONLY
4. M - FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS
OneDrive files can be in one of the following states and accordingly we are seeing the following attributes set on windows
1. Synced and also available locally on disk - (AL)
2. Synced and online only - (ALOM)
3. Not synced and present only on disk - (A)
Whether the above attributes are correct way to identify the right state on OneDrive file?
Similar to Windows, is there any way to fetch the following information on a Mac?
In the latest version of mac we can only identify this via finder icons(OneDrive finder extension). Is there any way to identify this on terminal like extended attributes ( xattr ) or any other way.