我发现的最接近的东西:http ://www.danielkraaij.nl/2014/03/30/subversion-progressbar-in-bash/
n=$(svn info -R svn://svn/project/trunk | grep "URL: " | uniq | wc -l)
n=$(svn info -R svn://svn/project/trunk | grep "URL: " | uniq | wc -l)
i=1
while read line filename
do
counter=$(( 100*(++i)/n))
echo -e "($counter %)\n"
echo -e "filename: $filename \n"
done < <(svn co svn://svn/project/trunk /var/www/project)
dialog --backtitle "Subversion Installer" --title "SVN Checkout" --gauge "Getting total file count" 7 120 < <(
n=$(svn info -R svn://svn/project/trunk | grep "URL: " | uniq | wc -l)
i=1
while read line filename
do
counter=$(( 100*(++i)/n))
echo "XXX"
echo "$counter"
echo "filename: $filename"
echo "XXX"
done < <(svn co svn://svn/project/trunk /var/www/project)
)