9 lines
199 B
Bash
Executable File
9 lines
199 B
Bash
Executable File
#!/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!"
|
|
|