New snapshot script for Timeshift
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
virsh --connect qemu:///system start RDPWindows
|
||||
echo "Waiting 30 sec for Windows 10 startup..."
|
||||
sleep 30
|
||||
echo "Starting xfreerdp now..."
|
||||
xfreerdp /v:Windows10 /size:100% /d: /p:sancho /dynamic-resolution &
|
||||
|
||||
exit
|
||||
9
scripts/launchvm.sh
Executable file
9
scripts/launchvm.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
virsh --connect qemu:///system start win11
|
||||
echo "Waiting 30 sec for Windows 11 startup..."
|
||||
sleep 30
|
||||
echo "Starting xfreerdp now..."
|
||||
xfreerdp /v:192.168.122.42 /size:100% /d: /p:sancho /dynamic-resolution &
|
||||
|
||||
exit
|
||||
8
scripts/snapshot.sh
Executable file
8
scripts/snapshot.sh
Executable 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!"
|
||||
|
||||
Reference in New Issue
Block a user