From 4f8a7f353c08690ece6da786bb340ba67e194271 Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Thu, 8 May 2025 21:46:42 +0200 Subject: update --- blogsend1 | 15 --------------- blogsend24 | 17 ----------------- blogsend3 | 16 ---------------- 3 files changed, 48 deletions(-) delete mode 100755 blogsend1 delete mode 100755 blogsend24 delete mode 100755 blogsend3 diff --git a/blogsend1 b/blogsend1 deleted file mode 100755 index 0a12bb6..0000000 --- a/blogsend1 +++ /dev/null @@ -1,15 +0,0 @@ -#!/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 - diff --git a/blogsend24 b/blogsend24 deleted file mode 100755 index 5d6e53a..0000000 --- a/blogsend24 +++ /dev/null @@ -1,17 +0,0 @@ -#!/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 - diff --git a/blogsend3 b/blogsend3 deleted file mode 100755 index 19c4bb3..0000000 --- a/blogsend3 +++ /dev/null @@ -1,16 +0,0 @@ -#!/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