[Top][All Lists]

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

Re: [Duplicity-talk] Auto ignores archive dir?

From: edgar . soldin
Subject: Re: [Duplicity-talk] Auto ignores archive dir?
Date: Thu, 25 Nov 2010 13:50:27 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20101027 Thunderbird/3.1.6

What is your rationale for doing this as commandline opposed to using a 
globbing list. That works smooth for me.


On 25.11.2010 13:27, Chris Poole wrote:
I use this option:

--exclude-if-present .duplicity-ignore

and then put a ".duplicity-ignore" file in the top of each directory I want
to exclude i.e.

touch /opt/.duplicity-ignore
touch /usr/sbin/.duplicity-ignore
touch /bin/.duplicity-ignore

Cheers, that's a nice idea.

If possible though, I'd prefer to not add more dotfiles; the .DS_Store
files annoy me enough!

I'd be happy using a structure like this:

     EXCLUDES="--exclude '**/*[Cc]ache*' "

But even that doesn't work for some reason. I suspect it's some
quoting issue, but I've played around with single and double quotes in
various places, and can't get the damned thing to work.

What I mean by this is that if I manually copy and paste the contents
of the EXCLUDES variable into the duplicity command line, then it
works. It's only when I try and pull these out into a variable that it
goes wrong.

Duplicity-talk mailing list

reply via email to

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