How to set Local files to Modification using SOSCMD?

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

Moderator: SourceGear

Post Reply
fixer
Posts: 3
Joined: Wed Jul 06, 2005 12:00 am

How to set Local files to Modification using SOSCMD?

Post by fixer » Wed Jul 06, 2005 12:47 am

Hi,

I'm using soscmd v3.5 and whenever I use the commands getfile or getproject, the modified date of the latest local file(s) is always set to the current time. Is there an option or parameter in the soscmd that I can use to automatically set the time of the local files to its modified time whenever i use getfile and getproject? The GUI client has this option under Tools > Files > Set Date / Time Local File - Modification but I can't seem to find it in soscmd.

Here's my the sample code:
soscmd.exe -command GetProject
-server 10.2.2.43:8888
-database \\Server\VSS\Srcsafe.ini
-name [username]
-password [password]
-project $[project path]
-workdir E:\[working dir]
-soshome C:\Program Files\SourceOffSite

SOS GUI Client: V3.5
SOS Server: v3.5
SOSCMD: 3.5

Thanks,
JC
Last edited by fixer on Thu Jul 07, 2005 9:48 pm, edited 1 time in total.

fixer
Posts: 3
Joined: Wed Jul 06, 2005 12:00 am

Post by fixer » Thu Jul 07, 2005 2:27 am

anyone?
Last edited by fixer on Thu Jul 07, 2005 9:51 pm, edited 1 time in total.

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

Post by lbauer » Thu Jul 07, 2005 9:41 am

Sorry, the 3.5 command line client only retrieves files with the current timestamp.

The ability to change the timestamp in the CLC was added in SOS 4.1.

So you could upgrade to SOS 4.1. This is a paid upgrade and is $99 per client license.

Using the 4.1 Command Line Client with the 3.5 Server is not supported, by the way.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply