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
address@hidden
http://lists.nongnu.org/mailman/listinfo/duplicity-talk