linuxmint / timeshift

System restore tool for Linux. Creates filesystem snapshots using rsync+hardlinks, or BTRFS snapshots. Supports scheduled snapshots, multiple backup levels, and exclude filters. Snapshots can be restored while system is running or from Live CD/USB.
1.53k stars 75 forks source link

Delete by number #272

Open codingthat opened 5 months ago

codingthat commented 5 months ago

Is your feature request related to a problem? Please describe. When you're stuck unable to boot and need to clean up timeshift backups via CLI (or walk someone through it remotely...) there's no autocomplete for the timestamps, so they're fairly arduous to delete one-by-one. Especially if you want to delete all except one so that you still have an actual backup...

Describe the solution you'd like That timeshift --delete-nums 1-5,7 deletes the snapshots numbered 1,2,3,4,5 and 7 (as numbered in the output from timeshift --list).

Describe alternatives you've considered Just supporting this on --delete.