#!/bin/bash


#first add new files
svn status | grep "? " | grep -v -e cgisess_ -e lost+found -e data/warn -e Trash -e $.lease -e twiki/working/tmp -e data/log/ -e $.svn -e twiki/data/log | awk '{print $2}' | xargs sudo svn add

#then commit in all new files and modifed files
time_tag=`date +%F\ %r`
svn commit -m "auto save twiki:$time_tag"  

