borgbackup/scripts/shell_completions
Thomas Waldmann 64ee2aaa10
create: add --exclude-dataless to skip cloud files not materialized locally, fixes #9746
macOS flags files whose content is stored in cloud storage (e.g. iCloud
Drive) and not present locally with SF_DATALESS. Reading such a file
triggers downloading its content.

With --exclude-dataless, borg create checks the flags (cheap, after
stat, before open) and skips such files/dirs, so backups do not force
a download of all cloud-stored data.

stat.SF_DATALESS is only available from Python 3.13 on, so we fall
back to the value from macOS' sys/stat.h on older Pythons.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 22:15:05 +02:00
..
bash create: add --exclude-dataless to skip cloud files not materialized locally, fixes #9746 2026-06-10 22:15:05 +02:00
fish create: add --exclude-dataless to skip cloud files not materialized locally, fixes #9746 2026-06-10 22:15:05 +02:00
zsh create: add --exclude-dataless to skip cloud files not materialized locally, fixes #9746 2026-06-10 22:15:05 +02:00