From a839c28dc18d861fca6b9130f8f325516f0c91ed Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Thu, 30 Oct 2025 04:30:29 -0600 Subject: [PATCH] 1.5-rc-3 --- Commands.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Commands.md b/Commands.md index faca6d2..505cd8a 100644 --- a/Commands.md +++ b/Commands.md @@ -18,7 +18,8 @@ lsblk echo "Enter disk name (including /dev/) ex /dev/sdb" read dadisk -webhook "starting copy $dadisk to $imgname to $xzname" +webhook "starting copy $dadisk to $imgname to $xzname at $(date)($(date +%s))" true + sudo dd if=$dadisk of=$imgname bs=4M status=progress imgsize=$(du -h $imgname) webhook "Copied the disk to $imgname ($imgsize), compressing to $xzname" @@ -29,10 +30,10 @@ webhook "$imgname ($imgsize) shrunk to $xzname ($xzsize), calculating sha256 che sha256sum $imgname | tee $checksums sha256sum $xzname | tee -a $checksums -webhook "getting sizes" +webhook "saving sizes" echo -e "imgsize: $imgsize\nxzsize: $xzsize" | tee $sizes -echo "changing perms" +webhook "changing perms" sudo chown $username:$username $xzname webhook "testing archive $xzname" @@ -41,6 +42,8 @@ ret=$? webhook "test status: $ret" webhook "DONE\n\tdisk: $dadisk\n\timgname: $imgname ($imgsize)\n\txzname: $xzname ($xzsize)" true + + sudo shutdown -r +1 ```