Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Files.EvictUbiquitousItem

Removes local copy of a cloud file.

Component Version macOS Windows Linux Server iOS SDK
Files 13.4 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "Files.EvictUbiquitousItem"; Path )   More

Parameters

Parameter Description Example
Path The native path to the file or folder to be checked. "/Users/John/Desktop/test.txt"

Result

Returns OK or error.

Description

Removes local copy of a cloud file.
This function removes the local copy of the specified item that’s stored in iCloud (or Dropbox).

Examples

Request removal of local copy:

Set Variable [ $r; Value: MBS( "Files.EvictUbiquitousItem"; "/Users/cs/Library/CloudStorage/Dropbox/Test/test.zip" )]

See also

Release notes

Blog Entries

This function checks for a license.

Created 16th August 2023, last changed 16th August 2023


Files.DiskInfo - Files.FileDisplayName