Check out all files in a folder using command line

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
ragnar
Posts: 7
Joined: Mon Jun 11, 2012 5:13 am

Check out all files in a folder using command line

Post by ragnar » Mon Jun 11, 2012 5:19 am

I need to check out all files in a specific folder using the command line tool. After going through your support archive I'm pretty sure it is possible but I have no idea as to how I would go about doing it. Is it possible and if so how would I do it, could anyone give me an example?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Check out all files in a folder using command line

Post by Beth » Mon Jun 11, 2012 12:20 pm

You would check out the same way as for a file, but just list a folder.

Here's an example:
vault CHECKOUT -host myVaultServer -user me -password mypassword -repository "Initial Repository" "$/Solution1/"

More examples can be found in this forum thread: http://support.sourcegear.com/viewtopic ... 13&t=15235.

Here is the documentation for the command-line client: http://download.sourcegear.com/misc/vau ... nt/clc.htm.
Beth Kieler
SourceGear Technical Support

Post Reply