borgbackup/scripts
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
..
fuzz-cache-sync Use HTTPS everywhere (mechanical edit using util from https-everywhere) 2020-12-22 16:36:40 +01:00
shell_completions create: add --exclude-dataless to skip cloud files not materialized locally, fixes #9746 2026-06-10 22:15:05 +02:00
borg.exe.spec pyinstaller binary: do not exclude ssl, needed for pyfuse3/trio, fixes #9196 2026-02-14 15:02:24 +01:00
Dockerfile.linux-run rename Dockerfile to match script name 2026-02-14 15:57:57 +01:00
errorlist.py scripts: fix typos and grammar 2025-08-10 22:06:55 +02:00
fetch-binaries update fetch-binaries script 2025-10-14 15:29:22 +02:00
glibc_check.py pyupgrade --py38-plus ./**/*.py 2022-02-27 21:12:44 +01:00
hash_sizes.py scripts: fix typos and grammar 2025-08-10 22:06:55 +02:00
linux-run rename Dockerfile to match script name 2026-02-14 15:57:57 +01:00
make.py scripts: fix typos and grammar 2025-08-10 22:06:55 +02:00
msys2-build fix msys build 2023-12-24 20:45:12 +01:00
msys2-install-deps use pyinstaller 6.3.0 2023-12-26 00:08:37 +01:00
sdist-sign use less setup.py, use pip and build 2023-12-24 20:50:19 +01:00
sign-binaries signing binaries with Qubes OS support, docs 2019-02-11 02:44:44 +01:00
upload-pypi upload-pypi: use borg-specific repository names 2025-10-31 19:46:03 +01:00