From 0c99aee724cbfa4e10acfab37e0ca9e85065d90a Mon Sep 17 00:00:00 2001 From: step21 Date: Wed, 31 Oct 2018 13:57:08 +0100 Subject: [PATCH 1/2] Fixed link to cachedir spec in docs to address #4140 --- src/borg/archiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/borg/archiver.py b/src/borg/archiver.py index 1afd0a197..31ae53450 100644 --- a/src/borg/archiver.py +++ b/src/borg/archiver.py @@ -2487,7 +2487,7 @@ class Archiver: if tag_files: add_option('--exclude-caches', dest='exclude_caches', action='store_true', help='exclude directories that contain a CACHEDIR.TAG file ' - '(http://www.brynosaurus.com/cachedir/spec.html)') + '(http://www.bford.info/cachedir/spec.html)') add_option('--exclude-if-present', metavar='NAME', dest='exclude_if_present', action='append', type=str, help='exclude directories that are tagged by containing a filesystem object with ' From 19c269cdcf65dfae31ed0f13b5bdb46a389d9c7d Mon Sep 17 00:00:00 2001 From: step21 Date: Wed, 31 Oct 2018 14:05:49 +0100 Subject: [PATCH 2/2] Fixed link to cachedir spec in fs helper to address #4140 --- src/borg/helpers/fs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/borg/helpers/fs.py b/src/borg/helpers/fs.py index b189a2be6..ef6b70729 100644 --- a/src/borg/helpers/fs.py +++ b/src/borg/helpers/fs.py @@ -66,7 +66,7 @@ def get_cache_dir(): fd.write(textwrap.dedent(""" # This file is a cache directory tag created by Borg. # For information about cache directory tags, see: - # http://www.brynosaurus.com/cachedir/ + # http://www.bford.info/cachedir/spec.html """).encode('ascii')) return cache_dir @@ -85,7 +85,7 @@ def dir_is_cachedir(path): """Determines whether the specified path is a cache directory (and therefore should potentially be excluded from the backup) according to the CACHEDIR.TAG protocol - (http://www.brynosaurus.com/cachedir/spec.html). + (http://www.bford.info/cachedir/spec.html). """ tag_path = os.path.join(path, CACHE_TAG_NAME)