New snapshot script for Timeshift

This commit is contained in:
Stephan Raabe
2023-02-20 12:42:39 +01:00
parent 69d320a933
commit 4f35c9426f
5 changed files with 23 additions and 15 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
read -p "Enter a comment for the snapshot: " c
sudo timeshift --create --comments "$c"
sudo timeshift --list
sudo grub-mkconfig -o /boot/grub/grub.cfg
echo "DONE. Snapshot $c created!"