Adding year directory and current month posts file creation

This commit is contained in:
Scott C. MacCallum 2023-06-12 19:01:43 +00:00
parent 6d5e08e76b
commit 946e998b2c

View File

@ -26,6 +26,16 @@ month=$(date '+%m')
one=1 one=1
last_month=$(($month - $one)) last_month=$(($month - $one))
# year()
# {
# }
# month()
# {
# }
finger() finger()
{ {
echo echo
@ -172,6 +182,8 @@ gemini()
scp /sdf/arpa/$letter_range/$letter/$USER/gemini/$month-e02 $USER@ma.sdf.org:/meta/gemini/$USER/posts/$year/$month.gmi scp /sdf/arpa/$letter_range/$letter/$USER/gemini/$month-e02 $USER@ma.sdf.org:/meta/gemini/$USER/posts/$year/$month.gmi
} }
#year
#month
finger finger
gopher gopher
gemini gemini