1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-08 07:28:31 +00:00

Complements the documentation for pattern files and exclude files (#5520)

docs: "filename with spaces" example added to exclude file, fixes #5236

note: no whitespace escaping needed, processed by borg.
This commit is contained in:
Nehalenniæ Oudin 2020-11-29 18:01:38 +01:00 committed by GitHub
parent fc925878fc
commit 2c8e523848
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2227,6 +2227,8 @@ def do_break_lock(self, args, repository):
fm:aa:something/*
re:^home/[^/]\\.tmp/
sh:home/*/.thumbnails
# Example with spaces, no need to escape as it is processed by borg
some file with spaces.txt
EOF
$ borg create --exclude-from exclude.txt backup /
@ -3106,6 +3108,7 @@ def define_borg_mount(parser):
exclusive because the data is not actually compressed and deduplicated during a dry run.
See the output of the "borg help patterns" command for more help on exclude patterns.
See the output of the "borg help placeholders" command for more help on placeholders.
.. man NOTES