aboutsummaryrefslogtreecommitdiff
path: root/blogsend24
blob: 5d6e53af4ac5bbb1860ce6743c05d2e2e3100bf8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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