|
From: | peter |
Subject: | Re: [rdiff-backup-users] exclude, use of * |
Date: | Sun, 31 May 2015 10:13:31 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 |
On 05/31/2015 06:01 AM, Robert Nichols wrote:
On 05/30/2015 02:05 PM, peter wrote:i tried: - /home/julius/.mozilla/firefox/*/extensions/ in my exclude file to exclude all the extension directories for all the firefox accounts. i was hoping * to work for "anydir", but apparently it doesnt. rdiff is still searching my 2 firefox profiles and adding files.Let's see the whole command line. For an exclusion to be effective, it needs to come (in the argument list) _before_ any directive that would cause that file or directory to be included.
rdiff-backup -v5 --print-statistics --exclude-filelist rdiff-excludes /home/julius/ $host::${backup_folder}
rdiff-excludes: - /home/julius/.cache - /home/julius/.local - /home/julius/tmp - /home/julius/Downloads - /home/julius/.mozilla/firefox/*/extensions/my thinking was, include everything and exclude some parts like i would do with rsync.
[Prev in Thread] | Current Thread | [Next in Thread] |