SyncDiscs user guide

Command line usage


Command line

It is possible to call !SyncDiscs with some command line arguments. This is one method of automating the backup procedure. For example !SyncDiscs can be run from the !Alarm, or !Organizer applications. (See also the section on syncjob files for another method of automating backups)

The arguments are:

-quitMakes the program execute and then quit. If the parameter -quit is not used, then SyncDiscs will load to the iconbar with any parameters passed in the command line filled in to the main window. The synchronisation can then be started manually.
-primary <path> Set the primary path
-secondary <path> Set the secondary path
-scrap <path> Set the scrap path
 
-log <file> Set the log file name
~logTurn off logging
 
-extraCopy extra files from secondary to primary
~extraRemove extra files on secondary
 
-newerCopy newer files from secondary to primary
~newerDon't copy newer files from secondary to primary
 
-overOverwrite newer files on secondary
~overDon't copy older files from primary to secondary

Missing command line arguments default to the configured values. For example, if no -log argument is provided, the value previously saved from the main window is used.

Note that SyncDiscs will not multitask when started with command line arguments.


  The Zone file   |   Index   |   Precautions  

SyncDiscs is © 2012, Chris Johnson and David Pilling
Email:chris@chris-johnson.org.uk

This document last modified on 18th December 2014

These pages are best viewed in a CSS compliant browser. For RISC OS, Netsurf would be the browser of choice.