Many fixes

This commit is contained in:
Scott C. MacCallum 2023-03-15 18:38:26 +00:00
parent 4174117f59
commit 85428b731c
1 changed files with 7 additions and 2 deletions

View File

@ -22,7 +22,6 @@
month=$(date '+%m')
let prevmonth=$month-1
year=$(date '+%Y')
# Change this to the first letter of your login name
letter="s"
finger()
@ -80,6 +79,9 @@ finger()
gopher()
{
# If the year has changed, and a new year directory does not already
# exist, create it
# Download the index.html and $month.html files
sftp $USER@ma.sdf.org:/meta/$letter/$USER/html/index.html /sdf/arpa/ns/$letter/$USER/gopher-prep
sftp $USER@ma.sdf.org:/meta/$letter/$USER/html/posts/$year/$month.html /sdf/arpa/ns/$letter/$USER/gopher-prep
@ -115,6 +117,9 @@ gopher()
gemini()
{
# If the year has changed, and a new year directory does not already
# exist, create it
# Download the index.html and $month.html files
sftp $USER@ma.sdf.org:/meta/$letter/$USER/html/index.html /sdf/arpa/ns/$letter/$USER/gemini
sftp $USER@ma.sdf.org:/meta/$letter/$USER/html/posts/$year/$month.html /sdf/arpa/ns/$letter/$USER/gemini
@ -153,9 +158,9 @@ gemini()
scp /sdf/arpa/ns/$letter/$USER/gemini/$month-e02 $USER@ma.sdf.org:/meta/gemini/$USER/posts/$year/$month.gmi
}
# Comment out the service that you're not using, or to aid in getting one to display correctly at a time
finger
gopher
web
gemini
exit 0