1.5-rc-3
This commit is contained in:
+3
-3
@@ -1,6 +1,7 @@
|
|||||||
# Commands
|
# Commands
|
||||||
copy image
|
copy image
|
||||||
```bash
|
```bash
|
||||||
|
#/bin/bash
|
||||||
imgname=`date +"%Y-%m-%d-%H%M-%S"`-grandfatherclock-pi4.img
|
imgname=`date +"%Y-%m-%d-%H%M-%S"`-grandfatherclock-pi4.img
|
||||||
xzname=$imgname.xz
|
xzname=$imgname.xz
|
||||||
sizes=sizes-$imgname-$xzame.txt
|
sizes=sizes-$imgname-$xzame.txt
|
||||||
@@ -24,11 +25,10 @@ sha256sum $xzname | tee -a $checksums
|
|||||||
webhook "getting sizes"
|
webhook "getting sizes"
|
||||||
echo -e "imgsize: $imgsize\nxzsize: $xzsize" | tee $sizes
|
echo -e "imgsize: $imgsize\nxzsize: $xzsize" | tee $sizes
|
||||||
|
|
||||||
webhook "DONE\n\tdisk: $dadisk\n\timgname: $imgname\n\txzname: $xzname\n\tsizes: $(cat $sizes)" true
|
webhook "DONE\n\tdisk: $dadisk\n\timgname: $imgname ($imgsize)\n\txzname: $xzname ($xzsize)" true
|
||||||
# sudo shutdown -r +1
|
sudo shutdown -r +1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
watch file
|
watch file
|
||||||
```bash
|
```bash
|
||||||
watch -n $((60 * 5)) "ls -lAh | rg grand | awk '{print \$5,\"/ 238.3G\", \"\\t\", \$9}'"
|
watch -n $((60 * 5)) "ls -lAh | rg grand | awk '{print \$5,\"/ 238.3G\", \"\\t\", \$9}'"
|
||||||
|
|||||||
Reference in New Issue
Block a user