samba-clientをインストールしておく
#svnbackup.sh cmd=/usr/share/doc/subversion-1.6.11/tools/server-side/svn-backup-dumps.py date for f in $(ls /var/www/svn) do echo --------- create $f ------------- $cmd -c 10 -z /var/www/svn/$f . echo done for f in $(ls) do echo --------- copy $f ------------- smbclient //landisk/share -U user01 pass01 -I 192.168.0.65 -c "put $f 共有フォルダー/svnbackup/$f" echo done
IPアドレスは要るんだろうか?