Here is an example that
illustrates the problem:
The file hierarchy for the demo of the "bug"
ls -R src/
src/:
fileA fileB
Here is the globbing filelist file (contains only the one line):
- **/fileB
Here are the two commands to verify the "bug"
duplicity --include-globbing-filelist
/home/save/systems/Duplicity/TestBug/globlist.txt
/home/save/systems/Duplicity/TestBug/src
file:///home/save/systems/Duplicity/TestBug/dest
duplicity list-current-files
file:///home/save/systems/Duplicity/TestBug/dest
The intended listing of the dest backup is:
Last full backup date: Fri Jan 2 09:37:44 2015
Fri Jan 2 09:35:00 2015 .
Fri Jan 2 09:30:28 2015 fileA
However, if the globbing filelist is edited to put a space after
"fileB", the listing is
Last full backup date: Fri Jan 2 09:41:18 2015
Fri Jan 2 09:35:00 2015 .
Fri Jan 2 09:30:28 2015 fileA
Fri Jan 2 09:35:00 2015 fileB
Cheers,
Norm
On 12/30/2014 06:49 AM, Aaron Whitehouse wrote:
-------- Original Message --------
Hello Norman,
On 18/09/14 04:53, Norman Goldstein wrote:
> [...]
>
> So, it seems that duplicity is doing two passes
> of the lines in the globbing filelist file. The
> first pass vets the file names, ignoring trailing
> white space. However, the 2nd pass, which actually
> uses the file names, includes the trailing white
> space, and does not complain if the resulting
> file does not exist.
>
> I can attach the example, it you would find it useful.
That's interesting thanks. Sorry for the delay in replying.
I've noticed that white space at the end of a globbing file list caused
things to break, but I hadn't delved into it in any detail. I'm not one
of the main duplicity developers, but I've been meaning to look into
this issue in a bit more detail. It would therefore be helpful to me if
you could please send your example (if you still have it).
Kind regards,
Aaron
_______________________________________________
Duplicity-talk mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/duplicity-talk