From 66d9ecaa26925ffcc0947e887cc7a94f79268644 Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Wed, 7 May 2025 21:34:07 +0200 Subject: blog scripts --- blogsend3 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 blogsend3 (limited to 'blogsend3') diff --git a/blogsend3 b/blogsend3 new file mode 100755 index 0000000..19c4bb3 --- /dev/null +++ b/blogsend3 @@ -0,0 +1,16 @@ +#!/bin/sh +# update edits in past 3 hours + +rf=web:/var/www/wittamore.com +mf=/home/philip/src/web/wittamore.com + +cd $mf + +files=`find * -path .git -prune -o -mmin -180 -type f ` +for file in $files +do + scp -r "$file" "$rf/$file" +done + +exit 0 + -- cgit v1.2.3