Command line add files

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

Moderator: SourceGear

Post Reply
EdLorenz
Posts: 9
Joined: Thu Oct 20, 2005 11:19 am

Command line add files

Post by EdLorenz » Fri Nov 11, 2005 8:42 am

I'm working with Visual Build Pro and I need a way to add just the "new" files from a directory to Vault.
I have a directory that contains old/checked-out files and then some new files.
If I specify the folder on the command-line Vault thinks i'm trying to add another folder as opposed to the "new" files in the folder.
I'm sure i'm missing something.
Thanks,
Ed

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Fri Nov 11, 2005 8:55 am

While the Vault GUI Client has a "Detect New Files to Add" feature, this isn't available in the Command Line Client. You would need to specify each file by name, or put the new files in a separate folder.

I'll log a feature request for the CLC to detect and add new files in a working folder.
Linda Bauer
SourceGear
Technical Support Manager

gaoshan
Posts: 2
Joined: Mon Nov 24, 2008 10:18 am

Re: Command line add files

Post by gaoshan » Mon Nov 24, 2008 10:24 am

I see it has been 3 years since this post so... does the command line client now have an "add new" feature yet? If so what is it. If not, what is the best way to add a batch of new files to a repository.

In the past I have painstakingly added each file one at a time or, if everything in a directory was new I added using wildcards but this won't work when only certain files are new. Suggestions?

gaoshan
Posts: 2
Joined: Mon Nov 24, 2008 10:18 am

Re: Command line add files

Post by gaoshan » Wed Nov 26, 2008 12:08 am

bump

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Command line add files

Post by lbauer » Wed Nov 26, 2008 3:46 pm

We don't have a new "add" feature yet. We have feature request 13815 logged for this, but I don't know when it might be implemented.

Maybe batch files would speed things up?

http://support.sourcegear.com/viewtopic ... add#p23618
Linda Bauer
SourceGear
Technical Support Manager

GFritchey
Posts: 4
Joined: Wed Aug 17, 2011 10:51 am

Re: Command line add files

Post by GFritchey » Wed Aug 17, 2011 11:03 am

Is this still not possible? I need to automate functionality through the command line and having to walk the files individually seems a bit archaic.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Command line add files

Post by lbauer » Mon Aug 22, 2011 7:22 am

This user found a way to add files here:
http://support.sourcegear.com/viewtopic ... 850#p64850
Linda Bauer
SourceGear
Technical Support Manager

Post Reply