Commit 769e26d
xxwhirlpool
·
2026-07-05 18:22:16 -0400 EDT
parent 39445c5
fix irc backup script
2 files changed,
+3,
-3
+1,
-1
| ... | ... | @@ -114,7 +114,7 @@ alias gmine="cd /home/kat/Projects/mine" | |
| 114 | 114 | alias scr="cd /home/kat/Scripts" | |
| 115 | 115 | ||
| 116 | 116 | # weather stuff | |
| 117 | - | alias wttr="curl https://wttr.in/nyc?F0ASu" | |
| 117 | + | alias wttr="curl https://wttr.in/nyc?F0Au" | |
| 118 | 118 | alias weather=wttr | |
| 119 | 119 | alias wttrlg="curl https://wttr.in/nyc?F1uq" | |
| 120 | 120 | alias weatherlg=wttrlg |
+2,
-2
| ... | ... | @@ -17,13 +17,13 @@ else | |
| 17 | 17 | fi | |
| 18 | 18 | ||
| 19 | 19 | # add dates next to timestamps in logs without them | |
| 20 | - | perl "$irchistpath/dates2logs.pl" | |
| 20 | + | perl "$irchistbasepath/dates2logs.pl" | |
| 21 | 21 | ||
| 22 | 22 | # zip up the logs | |
| 23 | 23 | tar -C "$irchistpath" -czvf "$irchistbasepath/$irctargz" . | |
| 24 | 24 | ||
| 25 | 25 | # copy the archive to server | |
| 26 | - | rsync -avzp "$irctargz" kat@athena:/home/kat/backups | |
| 26 | + | rsync -avzp "$irchistbasepath/$irctargz" kat@athena:/home/kat/backups | |
| 27 | 27 | ||
| 28 | 28 | # SSH into athena machine & run import script | |
| 29 | 29 | # this updates the local LAN only DB |