bit-team / backintime

Back In Time - An easy-to-use backup tool for GNU/Linux using rsync in the back
https://backintime.readthedocs.io
GNU General Public License v2.0
2.11k stars 208 forks source link

Show only changed files and snapshots #239

Open Germar opened 9 years ago

Germar commented 9 years ago

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.

emtiu commented 2 years ago

Related to #406.

buhtz commented 1 month ago

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.