SuperAPI AI 工具集

idrive-backup

办公与效率

查看项目

更新于 10-16 02:32

技能介绍

用途:帮助在 macOS 上管理、讨论或诊断 iDrive Backup 的配置,覆盖排除规则、备份路径、账户状态与设置项。

主要能力:脚本 scripts/idrive_tool.py 提供 check-exclusion、check-scope、list-exclusions、add-exclusion、remove-exclusion、show-settings、set-setting、account-status、last-backup、find-redundant、clean-redundant、list-backup-paths、add-backup-path、remove-backup-path、backup-config 等命令,处理匹配语义、符号链接解析与安全备份。配置文件位于 ~/Library/Application Support/IDriveforMac/,用户名从 appDefaultSettings.plist 顶层键读取。

用法:python3 <skill-path>/scripts/idrive_tool.py <command> [args...]。

五类排除映射:Default、Partial File、User Profile、User Specified(唯一可编辑)、Propagated。Partial File 基于子串匹配,最易出错。

限制与注意:修改前需备份,工具会自动化处理;只改 User Specified Exclusion;plist 键存在尾随空格与拼写错误(ShowHiddenFilesKey、PowerAfterScheduledJob、NotifyFaiulreValue),需原样保留;排除值固定为 int(1);路径必须为绝对路径,无波浪号与尾随斜杠;不要修改 IDLoginDetails.plist、Sync.plist、LDB_NEW/*.ib 及 Operation/ 下文件;部分文件属 root,不应提权写入;symlink/firmlink 需先 realpath;CDP 日志文件名有前导空格。详细格式见 references/idrive-config.md。