mickfold
mickfold

Reputation: 2003

Delete all files of a certain type from a TFS Team Project

We have migrated a large number of projects from SourceSafe to TFS 2012. We have used the migration tool to successfully migrate all of the projects and their history. But have found that the SourceSafe specific project files, *.vssscc, have been left in place. We would like an easy way to remove all of these files.

Therefore is there an easy way to delete all files of the type "vssscc" from a TFS Team Project?

Upvotes: 2

Views: 559

Answers (1)

Edward Thomson
Edward Thomson

Reputation: 78853

When the item spec is not a folder, recursive options apply to all files matching the given name (or wildcard). So in this case:

tf delete /recursive *.vssscc

Should pend deletions for the files in question.

Upvotes: 4

Related Questions