duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] --exclude-if-present


From: edgar . soldin
Subject: Re: [Duplicity-talk] --exclude-if-present
Date: Tue, 21 Jul 2015 11:14:00 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

On 21.07.2015 10:45, Aaron Whitehouse wrote:
> Hello all,
> 
> What is the use case for --exclude-if-present?
> 
> I've never seen a normal exclude throw an error if the file is missing,
> so I'm struggling to figure out what this adds over a simple --exclude.
> 
> Kind regards,
> 
> Aaron
> 

i find the manpage text describes it good

"
--exclude-if-present filename
    Exclude directories if filename is present. This option needs to come 
before any other include or exclude options. 
"
it is an alternative exlusion approach. imagine you would set 
'--exclude-if-present .duplicity-exclude' and place a file named like that in a 
folder that is in your backup tree. as a result: the folder would not be backed 
up. not sure about sub-folders though.

..ede/duply.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]