|
From: | Jason Martin |
Subject: | Re: [Duplicity-talk] using the 'find' command to exclude files over a certain file size |
Date: | Fri, 14 Jan 2011 12:44:51 +0000 |
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
> *Jason*
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???
>
>
>
>
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
_______________________________________________
Duplicity-talk mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/duplicity-talk
[Prev in Thread] | Current Thread | [Next in Thread] |