WORKAN WOOOO
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
# Commands
|
||||||
|
```bash
|
||||||
|
byobu
|
||||||
|
|
||||||
|
imgname=`date +"%Y-%m-%d-%H%M-%S"`-grandfatherclock-pi4.img; xzname=$imgname.xz; dadisk=/dev/sdb; webhook "starting copy $dadisk to $imgname $to xzname"; sudo dd if=$dadisk of=$imgname bs=4M status=progress; webhook "Copied the disk to $imgname, compressing to $xzname"; sudo pishrink.sh -v -Z -a $imgname $xzname; webhook "$imgname shrunk to $xzname, deleting $imgname" true; sudo rm -f $imgname; webhook "done!";
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user