duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] using the 'find' command to exclude files over a ce


From: edgar . soldin
Subject: Re: [Duplicity-talk] using the 'find' command to exclude files over a certain file size
Date: Fri, 14 Jan 2011 13:16:16 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

first i think you'd be better off with a generated globbing list to circumvent 
weird characters, see http://duplicity.nongnu.org/duplicity.1.html#sect9
i suggest to create an exclude file formatted like

/abs/path/to/file1
/abs/path/to/file2
...

this way really only these files get excluded, but not all with a path ending 
in 'file' as before with '**file'

still please run your command again with an 'echo' in front of it and post the 
output. also which duplcity version are you using?

ede/duply.net 

On 14.01.2011 12:52, Jason Martin wrote:
> Hello, I hope someone could help me. I am trying to exclude files over a
> certain size in a backup as they are mostly files that don't require backing
> up.
> 
> 
> I'm using the command:
> ~:$  duplicity $(find /home/jason -size +100M -printf " --exclude '**%f'")
> /home/jason/ file:///tmp/test
> which gives....
> Command line error: Expected 2 args, got 6
> Enter 'duplicity --help' for help screen.
> 
> 
> However,  if I copy/paste the output of $(find /home/jason -size +100M
> -printf " --exclude '**%f'") into the command everything works as
> expected...??
> 
> Any ideas???
> *Jason*
> 
> 
> 
> 
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/duplicity-talk




reply via email to

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