[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] Why do we have --include-filelist (as opposed to ju
From: |
Remy van Elst |
Subject: |
Re: [Duplicity-talk] Why do we have --include-filelist (as opposed to just globbing)? |
Date: |
Fri, 09 Jan 2015 22:24:14 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
I do often use the following --exclude and --include paths:
duplicity --full-if-older-than 14D --include="/home" --include="/etc"
--include="/var/www" --exclude="**" /
Mostly because I find this quicker to setup than a filelist and such.
On 01/09/2015 07:29 PM, Marc Evans wrote:
> I use --exclude **/some/path** and --exclude-filelist /some/file
> routinely. As long as that functionality remains in some form, I am content.
>
> - Marc
>
> On Fri, Jan 9, 2015 at 11:47 AM, Aaron Whitehouse
>> <address@hidden <mailto:address@hidden>> wrote:
>>
>> Hi all,
>>
>> We've had a couple of bugs recently that only affect
>> --include/exclude-filelist but not --include/exclude-globbing-filelist.
>> One reason for this is that the code paths for the two different types
>> of filelists are separate in selection.py. I have been contemplating
>> trying to simplify this file a bit to keep things together until the
>> globs are interpreted. Before I do that, I wanted to check that there is
>> actually a use case for filelists that *aren't* globbing. I have often
>> used globbing filelists for normal paths without issues. The only
>> advantage that I can see in a non-globbing filelist would be if you had
>> filenames that had globbing characters in them, but we probably want a
>> way to escape such characters in globbing filelists anyway (if there
>> isn't already), as otherwise people with such files couldn't take
>> advantage of the benefits of globbing filelists.
>>
>> I'm wondering if the more sensible answer is to essentially get rid of
>> include and exclude filelists altogether (we could obviously redirect
>> the option for the short term etc. and may want to rename globbing
>> filelists to just be filelists if there aren't any others).
>>
>> I would be interested in your thoughts.
>>
>> Kind regards,
>>
>> Aaron
>
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
>
smime.p7s
Description: S/MIME Cryptographic Signature