[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: Wed, 24 Nov 2010 18:38:04 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20101027 Thunderbird/3.1.6

On 24.11.2010 18:01, Chris Poole wrote:
Just one more thing then. I'm not sure why this isn't working, perhaps you do?

     EXCLUDES="--exclude ~/.cache --exclude ~/Library/Caches --exclude
~/Dropbox --exclude ~/test --exclude ~/src --exclude ~/Downloads
--exclude ~/Public --exclude ~/Sites --exclude '**/.DS_Store'"

     duplicity $INCLUDES $EXCLUDES ~/ "file:///Volumes/$DRIVENAME/backup/"

I get the message:

     Fatal Error: The file specification
     cannot match any files in the base directory

Now, I can use the glob **, to give **/.cache in the EXCLUDES
variable, but then won't this match any .cache directory, regardless
of depth? (I just want to match the ~/.cache directory explicitly).

how about './.cache' or simply '.cache' ?
as ~ is probably your backup source root.


reply via email to

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