You need cvs-fast-export tool in your path
All projects in old CVS repositories are listed in all-projects.txt file and it is in you old cvs repos folder.
for a in `cat all-projects.txt`This will export every project folder as single file in /home/username/separate-projects/
do
cd $a
find .|cvs-fast-export > ~/separate-projects/$a.cfe
cd ..
done
Now to import it as git repositories
cd ~/separate-projects/
for a in `ls *.cfe`
do
adir=`echo $a|sed s/".cfe"/""/g`
git init "$adir".git
cd "$adir".git
git fast-import < ../$a
cd ..
done