aboutsummaryrefslogtreecommitdiff
path: root/blogsend1
diff options
context:
space:
mode:
Diffstat (limited to 'blogsend1')
-rwxr-xr-xblogsend115
1 files changed, 15 insertions, 0 deletions
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
+