diff options
Diffstat (limited to 'blogsend')
-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 |