Resource Menu

How to use LibreSource Synchronizer in command line

As LibreSource Synchronizer is a 100% pure java application, you can use it in command line.

First download the required jar :

Then you can launch LibreSource Synchronizer client with the following command :
$> java -jar So6-1.0.jar

The list of available commands will be displayed :

  • commit : commit change to the queue
  • update : update a workspace
  • createworkspace : create a new workspace (file system)
  • createqueue : create a new so6 queue (file system)
  • rename : rename a file in an existing workspace
  • findconflict : find conflicts in an existing workspace
  • changetype : change the type of a file in an existing workspace
  • computelocaltypes : restore files types
  • restore : restore a corrupted workspace
  • partialcommit : start a partial commit (not recommanded)
  • addwsconnection : create a new connection between an existing workspace and an other queue
  • conflicteditor : start the conflict editor
  • applypatch : execute path operations on a workspace
  • patchinspector : start the patch inspector
  • synchronize : synchronize many workspace
  • anonymousaccess : checkout
  • clean : remove old merged operations
For each command, a specific help is displayed :
$> java -jar So6-1.0.jar commit

commit -w workspacepath [-c connection] "comment" Exemple:

so6 commit -w . "A little comment for the commit..." so6 commit -w . -c 1 "A little comment for the commit..."

Thus, you can, as it is possible with other SCM tools, write scripts in shell to automated your actions on the local workspace.

Last edited by Root at Mar 25, 2007 12:07 AM - Edit content - View source