Geeks With Blogs

@scottvanvliet
  • scottvanvliet Tonight is my first show in 10 years, guest bass for The Toys! Learned 30+ songs in 4 weeks. Might get ugly but going to be fun! Thx @TKilp about 15 days ago

Scott Van Vliet Once a Developer, Always a Developer

Here's a quick tip: if you need to move multiple files or folders in Team Explorer, it's not possible to select multiple and click 'Move' from the context menu. However, you can accomplish this using the TF.exe Move command with a wildcard:

Syntax:

tf.exe move <itemspec> <destination>

Example:

tf.exe move $/Itd/Deployment/Builds/R1* $/Itd/Deployment/Builds/Archive

Sweet and simple! This one saved me a lot of time – Enjoy!

Posted on Friday, February 2, 2007 5:36 PM Team System | Back to top


Comments on this post: TF.exe Goodness – Move Multiple Files/Folders

# re: TF.exe Goodness – Move Multiple Files/Folders
Requesting Gravatar...
Thanks for this. Couldn't believe it when I selected multiple files within source control explorer and the move option was greyed out, crazy!

Left by Tom Hall on Apr 03, 2009 9:27 AM

# re: TF.exe Goodness – Move Multiple Files/Folders
Requesting Gravatar...
you need to run the command from one of the mapped folders
Left by Satesh on Jul 07, 2010 5:56 PM

# re: TF.exe Goodness – Move Multiple Files/Folders
Requesting Gravatar...
Excellent suggestion! I have to do this all the time as source code administrator and this will save me some time. It's awesome that it even excludes the target if it is within the source.
Left by Jonlesada on Aug 18, 2011 6:06 AM

# re: TF.exe Goodness – Move Multiple Files/Folders
Requesting Gravatar...
using "move" will not retain the history of files. use "rename" instead.
Left by Rajat on Oct 12, 2011 1:41 AM

Your comment:
 (will show your gravatar)
 


Copyright © svanvliet | Powered by: GeeksWithBlogs.net | Join free