collection-status only works with spaces in filepath.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Since revision 1171, collection-status only processes filenames with spaces, due to an error in the code added in revision 1171.
The error code is:
# quick fix to spaces in filepath
The code should be:
# quick fix to spaces in filepath
This correction has been tested successfully on versions 0.7.06 and 0.7.13.1.
Duplicity version: 0.7.06 and 0.7.13.1
Python version: 2.7.12
OS Distro and version: Ubuntu 16.04
Type of target filesystem: Linux
Duplicity Command:
echo "=== Duplicity get dates ==="
PASSPHRASE='****' duplicity collection-status \
--archive-
--file-changed "$SearchName" \
"file:
Before correction, collection-status output:
=== Duplicity get dates ===
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Sat Jul 29 15:00:46 2017
-------
File: Misc/examples/
Total number of backup: 0
Type of backup set: Time: Type of file change:
-------
After correction, collection-status output:
=== Duplicity get dates ===
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Sat Jul 29 15:00:46 2017
-------
File: Misc/examples/
Total number of backup: 15
Type of backup set: Time: Type of file change:
-------
Changed in duplicity: | |
importance: | Undecided → Medium |
milestone: | none → 0.7.14 |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
Thanks for the fix!