#copy from darwin.csh : Trac
rm -rf /Users/laurentgarnier/Work/tmp/*
/sw/bin/trac-admin /Users/Shared/Trac hotcopy /Users/laurentgarnier/Work/tmp/trac_backup
tar -czvf /Users/laurentgarnier/Work/To_CVS/Trac.tgz /Users/laurentgarnier/Work/tmp/trac_backup
#copy from darwin.csh : SVN
/sw/bin/svnadmin hotcopy /Users/Shared/SVN /Users/laurentgarnier/Work/tmp/svn_backup
tar -czvf /Users/laurentgarnier/Work/To_CVS/SVN.tgz /Users/laurentgarnier/Work/tmp/svn_backup
# Mail
tar -czvf /Users/laurentgarnier/Work/To_CVS/Mail.tgz /Users/laurentgarnier/Library/Mail
# Thunderbird
tar -czvf /Users/laurentgarnier/Work/To_CVS/Thunderbird.tgz /Users/laurentgarnier/Library/Thunderbird

#ftp
cd /Users/laurentgarnier/Work/To_CVS
ftp ftp.lal.in2p3.fr<<!
bin
cd Backup_mac
rename Trac_old.tgz Trac_older.tgz
rename Trac.tgz Trac_old.tgz                     
put Trac.tgz
rename SVN_old.tgz SVN_older.tgz
rename SVN.tgz SVN_old.tgz                     
put SVN.tgz
rename Mail_old.tgz Mail_older.tgz
rename Mail.tgz Mail_old.tgz                     
put Mail.tgz
rename Thunderbird_old.tgz Thunderbird_older.tgz
rename Thunderbird.tgz Thunderbird_old.tgz                     
put Thunderbird.tgz
quit