upb 199 B

123456789101112131415
  1. #!/bin/sh
  2. rf=web:/var/www/wittamore.com
  3. mf=~/src/web/wittamore.com
  4. cd $mf
  5. files=$(find * -path .tmp -prune -o -mtime 0 -type f)
  6. for file in $files
  7. do
  8. scp -r "$file" "$rf/$file"
  9. done
  10. exit 0