~cpp #!/bin/sh # $1 if [ "$1" == "" ] then echo "usage : $0 current_repos " exit; else cRepos=$1 fi nRepos="$cRepos"_fsfs echo $cRepos; echo $nRepos; # change svnadmin create --fs-type=fsfs $nRepos svnadmin dump $cRepos | svnadmin load $nRepos mv $cRepos "$cRepos"_back mv $nRepos $cRepos chown www-data.svnadmin $cRepos -R chmod g+w $cRepos -R