Open Germar opened 9 years ago
Related to #406.
My suggestion would be to implement this in a first step without the GUI. Just give a list (e.g. json format) of modified files/folders. Examples:
# By default diff the last with the previous
$ backintime diff
# Diff a specific snapshot (by default) with the previous one
$ backintime diff 20240913-143540-993
# Diff two specific snapshots
backintime diff 20240913-143540-993 20240913-145625-710
# Diff a specific snapshot with the 3rd previous snapshot (git like)
backintime diff 20240913-143540-993 20240913-143540-993~3
# ...the same with IMHO easier syntax (git like)
backintime diff 20240913-143540-993~3
# allow shorter snapshot IDs if they are unique
backintime diff 20240913-143540 20240913-145625
Not sure if diff
is good command name. Maybe modified
or changed
or compare
?
In a second step this list then can be used by the GUI.
There should be an option to show only snapshots and files (and the hierarchy of folders containing files) that have changed since the last back up. Also, if hidden files are not shown, then they should not be taken into account when showing changed files, folders, and snapshots.
Imported from Launchpad using lp2gh.