|Examples||Mac & Win||Server||Client||Guides||Statistic||FMM||Blog||Deprecated||Old|
Sets file backup exclusion of a file or folder.
|Files||12.0||✅ Yes||❌ No||❌ No||✅ Yes, on macOS||❌ No|
|Path||The native path to the file or folder to be checked.||"/Users/John/Desktop/test.txt"|
|Value||The new state.
Pass 1 to hide file or 0 to unhide file.
Returns OK or error.
DescriptionSets file backup exclusion of a file or folder.
Set to 1 if resource should be excluded from backups, 0 otherwise.
This property is only useful for excluding cache and other application support files which are not needed in a backup. Some operations commonly made to user documents will cause this property to be reset to false and so this property should not be used on user documents.
Files in standard temporary folders do not need to be marked for exclusion as those are automatically excluded.
- Version 12.0
This function is free to use.
Created 13th January 2022, last changed 23th May 2022