aboutsummaryrefslogtreecommitdiff
path: root/blogsend
diff options
context:
space:
mode:
authorPhilip Wittamore <philip@wittamore.com>2025-05-15 00:03:38 +0200
committerPhilip Wittamore <philip@wittamore.com>2025-05-15 00:03:38 +0200
commit8658ea23ab2c71cdf53c213cefb1406018b4efa9 (patch)
treef59a99250432642cc4fb0005188a60a2cfcc95b0 /blogsend
parentf0a70c827f0d10d18015d9a1cb56e58e1852bd44 (diff)
downloadblog-8658ea23ab2c71cdf53c213cefb1406018b4efa9.tar.gz
blog-8658ea23ab2c71cdf53c213cefb1406018b4efa9.tar.bz2
blog-8658ea23ab2c71cdf53c213cefb1406018b4efa9.zip
update
Diffstat (limited to 'blogsend')
-rwxr-xr-xblogsend8
1 files changed, 5 insertions, 3 deletions
diff --git a/blogsend b/blogsend
index 7d5bc81..fee7614 100755
--- a/blogsend
+++ b/blogsend
@@ -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