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