From 20f42fc823678f40a227b0e3886824bc01d406f5 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Thu, 30 Oct 2025 01:12:27 -0600 Subject: [PATCH] WORKAN WOOOO --- Commands.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Commands.md b/Commands.md index 6e23504..e6462e4 100644 --- a/Commands.md +++ b/Commands.md @@ -1,6 +1,12 @@ # Commands +copy image ```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!"; +``` + +watch file +```bash +watch -n $((60 * 5)) "ls -lAh | rg grand | awk '{print \$5,\"/ 238.3G\", \"\\t\", \$9}'" ``` \ No newline at end of file