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.tdsync
or tdsync.bat
file
appears on your system's PATH environment variable.- Open a command prompt and navigate to the folder you wish to sync.
- 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. - 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. - If desired, execute
tdsync --pull
to download the latest files from the server.You could also executetdsync --pull --dry-run
to see what a download would do, without actually modifying any files at either end. - 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, executetdsync --force
to upload everything in the current directory, including files that are identical.
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.