views:

455

answers:

1

I host a project on CodePlex, but a bunch (200+) files need to have their extension changed.

What is the easiest, least painful way to do this? I cant see myself doing them one by one in the IDE.

Update:

I know I can just remove and change them via the commandline/utility, and readd them, but that would lose history.

Perhaps there is some commandline interface to TFS on CodePlex?

+4  A: 

You could use tf.exe which is installed with TFS Team Explorer. See

tf.exe rename /?

for help. Hint: You have to use the /login parameter to specify your credentials. Without that tf.exe uses your windows account. A rename could then be like this:

tf rename /login:user,password old.cs new.cs
Martin