duplicity-talk
[Top][All Lists]
Advanced

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

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


From: Chris Poole
Subject: Re: [Duplicity-talk] Auto ignores archive dir?
Date: Thu, 25 Nov 2010 12:27:59 +0000

> 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.



reply via email to

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