diff options
author | Philip Wittamore <philip@wittamore.com> | 2025-05-15 00:03:38 +0200 |
---|---|---|
committer | Philip Wittamore <philip@wittamore.com> | 2025-05-15 00:03:38 +0200 |
commit | 8658ea23ab2c71cdf53c213cefb1406018b4efa9 (patch) | |
tree | f59a99250432642cc4fb0005188a60a2cfcc95b0 | |
parent | f0a70c827f0d10d18015d9a1cb56e58e1852bd44 (diff) | |
download | blog-8658ea23ab2c71cdf53c213cefb1406018b4efa9.tar.gz blog-8658ea23ab2c71cdf53c213cefb1406018b4efa9.tar.bz2 blog-8658ea23ab2c71cdf53c213cefb1406018b4efa9.zip |
update
-rwxr-xr-x | blogsend | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,13 +1,15 @@ #!/usr/bin/env bash -# 2025-03-29 15:36:12 # blogsend : scp blog files to web server # usage : blogsend hours (if not set default is 1 hour) # example : blogsend 72 sends files modified over the past 3 days # folders -rf=mail:/var/www/html/wittamore.com -mf=~/.local/src/web/wittamore.com +# ex. server:var/www/html/whatever +rf=WEB_SITE_DIRECTORY +# ex. ~/.local/src/html +mf=LOCAL_DIRECTORY + cd $mf || exit # test if var is sent |