Retour

CVS repository switch

2009-03-09 11:11:20 (ID: 221, Parent: 0, Type: post)

This is a simple script that change recursively the CVS repository of a project.

In this example, it changes from “-d :ext:lsabo:/gen” remote server to a local file repository “-d /cvsroots/gen”.

find * | grep Root | xargs sed -i 's/:ext:lsabo\/gen/\/cvsroots\/gen/'