Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

iPhone.SetNoBackupFlag

static function SetNoBackupFlag(path: string): void;
static void SetNoBackupFlag(string path);
static def SetNoBackupFlag(path as string) as void

Description

Set file flag to be excluded from iCloud/iTunes backup.

As a side-effect, if it was located in Caches folder, it won't be deleted by OS.