From 7e00a60abbc505720a4709e00dc7ebe7b6cb2cfc Mon Sep 17 00:00:00 2001 From: rodri Date: Tue, 4 Apr 2023 11:35:46 +0000 Subject: added an archival tool. updated the default calisthenics session. --- calisthenics.week | 22 ++++++++++++---------- mkar | 15 +++++++++++++++ 2 files changed, 27 insertions(+), 10 deletions(-) create mode 100755 mkar diff --git a/calisthenics.week b/calisthenics.week index 97a6f08..0d0e558 100644 --- a/calisthenics.week +++ b/calisthenics.week @@ -1,29 +1,31 @@ -22 # bear walk 10 # push-ups 17 # australian pull-ups -52 # australian chin-ups +57 # single bar tucked chin-ups 35 # parallel bar leg raises 18 # parallel bar chest dips 39 # single bar tucked pull-ups +49 # handstand hold 12 # calf raises 41 # ring tricep push-ups 15 # squats -43 # kneesovertoes lunges +43 # kneesovertoes split squats 45 # single bar corkscrew abs 46 # side single leg raises +22 # bear walk w y -2 # bear walk -16 # push-ups -16 # australian pull-ups -10 # australian chin-ups +12 # push-ups +12 # australian pull-ups +5 # single bar tucked chin-ups 12 # parallel bar leg raises -10 # parallel bar chest dips +8 # parallel bar chest dips 6 # single bar tucked pull-ups +3 # handstand hold 33 # calf raises 10 # ring tricep push-ups 33 # squats -16 # kneesovertoes lunges +10 # kneesovertoes split squats 5 # single bar corkscrew abs -16 # side single leg raises +12 # side single leg raises +2 # bear walk y diff --git a/mkar b/mkar new file mode 100755 index 0000000..abcc41d --- /dev/null +++ b/mkar @@ -0,0 +1,15 @@ +#!/bin/rc +rfork en +wdir=$home/lib/fitness +years=(2020 2021 2022) +months=(jan feb mar apr may jun jul aug sep oct nov dec) + +mkdir -p $wdir/archive + +for(y in $years) + for(m in $months) + if(! ~ `{ls *$m$y >[2]/dev/null | wc -l} 0){ + tar cvzf $m$y.tgz *$m$y + mv $m$y.tgz $wdir/archive/ + rm *$m$y + } -- cgit v1.2.3