duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Test includes/excludes


From: Michael Terry
Subject: Re: [Duplicity-talk] Test includes/excludes
Date: Thu, 24 Jan 2013 08:52:47 -0500

And note that if you feeling fancy and writing a script to do this, you can use --log-fd or --log-file to get a machine-parsable version of the output to make it easier to sed.

But no, there is no output that is as clean as "ls" output for example.

-mt


On 24 January 2013 07:38, <address@hidden> wrote:
On 24.01.2013 12:05, Sven wrote:
> Hi
>
> I couldn't find this in the documentation: Is there a way to test the
> includes/excludes of a backup and print the matching files rather than
> performing a real backup? I've tried combinations of --dry-run with -v yet to no
> avail.
>

using --dry-run and -v9 shows you line combinations like

"
Selecting path/to/file
Comparing ('file',) and None
Getting delta of (('file',) path/to/file reg) and None
A file
"

note the /Selecting .../ part.

you could parse the output through awk/sed to filter these only.

..ede

_______________________________________________
Duplicity-talk mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/duplicity-talk


reply via email to

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