diff options
author | Philip Wittamore <philip@wittamore.com> | 2025-05-07 21:34:07 +0200 |
---|---|---|
committer | Philip Wittamore <philip@wittamore.com> | 2025-05-07 21:34:07 +0200 |
commit | 66d9ecaa26925ffcc0947e887cc7a94f79268644 (patch) | |
tree | cde639475dfa226ad8d5353a7a5142fa23f0649b /blogsend3 | |
download | blog-66d9ecaa26925ffcc0947e887cc7a94f79268644.tar.gz blog-66d9ecaa26925ffcc0947e887cc7a94f79268644.tar.bz2 blog-66d9ecaa26925ffcc0947e887cc7a94f79268644.zip |
blog scripts
Diffstat (limited to 'blogsend3')
-rwxr-xr-x | blogsend3 | 16 |
1 files changed, 16 insertions, 0 deletions
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 + |