Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem