Sync
Return to Introduction  Previous page  Next page
Similar to the Get command, Sync makes sure that the local copy of your source is as up to date as possible. Sync updates all files that are marked as Out-of-Date (checked in by others since the last Get) or missing. This is faster than running a Get since local files that are checked out to you, or do not have a new revision in the repository, are ignored.

Syntax

tc Sync [-O] [-R] [-T] [-Y] [-?]  

Examples

Syncronise the current folder and all subfolders:

tc Sync -R  

The following table describes the command-line options available with this command.

Option
Description
-O
Specify command output parameters
-R
Recursively get a folder and its subfolders
-T
Causes the command to terminate and return an error code when an error occurs.
-Y
Specify a Username and/or Password
-?, -H
Request online help for a command


Remarks

The action is carried out on the current Team Coherence folder (use TC CD to check this) and uses the user working folder to locate the local source files (equivalent to the -GW parameter in a Get).  


 


© 1995-2018 MCN Software