aboutsummaryrefslogtreecommitdiff
path: root/blogsend24
diff options
context:
space:
mode:
authorPhilip Wittamore <philip@wittamore.com>2025-05-07 21:34:07 +0200
committerPhilip Wittamore <philip@wittamore.com>2025-05-07 21:34:07 +0200
commit66d9ecaa26925ffcc0947e887cc7a94f79268644 (patch)
treecde639475dfa226ad8d5353a7a5142fa23f0649b /blogsend24
downloadblog-66d9ecaa26925ffcc0947e887cc7a94f79268644.tar.gz
blog-66d9ecaa26925ffcc0947e887cc7a94f79268644.tar.bz2
blog-66d9ecaa26925ffcc0947e887cc7a94f79268644.zip
blog scripts
Diffstat (limited to 'blogsend24')
-rwxr-xr-xblogsend2417
1 files changed, 17 insertions, 0 deletions
diff --git a/blogsend24 b/blogsend24
new file mode 100755
index 0000000..5d6e53a
--- /dev/null
+++ b/blogsend24
@@ -0,0 +1,17 @@
+#!/bin/sh
+# update blog wittamore.com
+# edits in last 24 hours
+
+rf=web:/var/www/wittamore.com
+mf=~/src/web/wittamore.com
+
+cd $mf
+
+files=$(find * -path .tmp -prune -o -mtime 0 -type f)
+for file in $files
+do
+ scp -r "$file" "$rf/$file"
+done
+
+exit 0
+