Simple Usage

This simple procedure will allow you to set up and run a file system sync with a file system folder using the tdsync command-line utility.
Make sure the Titania Delivery Client Connector SDK is installed and that the folder containing tdsync or tdsync.bat file appears on your system's PATH environment variable.
  1. Open a command prompt and navigate to the folder you wish to sync.
  2. Execute the command tdsync --setup.
    This will launch a series of interactive prompts asking for the URL, user name, password, project key, and other settings to use when syncing.
    At the end of the process, a .tdsyncrc file will be created in this directory, containing all the settings necessary to execute a sync.
  3. Execute tdsync --dry-run to see what files will be uploaded to the server. Note that no syncing will actually occur. By default, only those files that differ between the local file system and the Titania Delivery project will be uploaded.
  4. If desired, execute tdsync --pull to download the latest files from the server.
    You could also execute tdsync --pull --dry-run to see what a download would do, without actually modifying any files at either end.
  5. Execute tdsync without any parameters. This will "push" all of the files that are different/missing on the server into the specified Titania Delivery project.
    Alternatively, execute tdsync --force to upload everything in the current directory, including files that are identical.
You can now run tdsync from this folder at any time to sync it with Titania Delivery. You can also use tdsync --watch to watch the folder for changes, which will automatically be synced with the Titania Delivery server as soon as they are made.