vault.exe GET commandline syntax

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

Moderator: SourceGear

Post Reply
Pawan
Posts: 19
Joined: Wed Apr 28, 2004 12:46 am

vault.exe GET commandline syntax

Post by Pawan » Wed Apr 28, 2004 12:52 am

Is there a document which describes the command line syntax for all the vault.exe options.

I am primarily interested in:

vault.exe GET
vault.exe GETLABEL

and specially how to tell the get to make all files writable and how to tell it to merge or overwrite existing files.

Others are:
vault.exe LABEL

None of these seem to include how to specify server name, user name, password, special switches, etc...

Also is it possible to get a list of all files which were either modified, added or deleted from a certain date and time? I could not fingure out a commandline option for that.

Thanks
Pawan

Pawan
Posts: 19
Joined: Wed Apr 28, 2004 12:46 am

Sorry - figured out part of the problem

Post by Pawan » Wed Apr 28, 2004 12:56 am

Figured out part of the problem:

vault.exe HELP GET

provides all the help.

I was trying

vault.exe GET HELP

Still - I cannot figure out a way to find all the modified, added or deleted files since a certain time.

Thanks
Pawan

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Wed Apr 28, 2004 7:48 am

The command line HISTORY command will show you the files that have changed recently, but unfortunately, there is no option to query by datetime. There will an upcoming 2.0.3 release with that problem fixed.

For now, you would have to do the full history query, and search through the xml for the dates, or modify the command line client source code (which we provide), to query exactly what you want.

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Wed Apr 28, 2004 11:14 am

Also, the following sample code illustrates how to perform history queries from the Client API.

Post Reply