Font size:
j4copy command line interface (CLI)
Usage
j4copy syntax is as follows:
Usage: j4copy_cli -l|-c <file> [<path_to_element>] j4copy_cli -e|-t [-m:<time>] <file> [<path_to_element>] Options: -l list only (no execution) -c check only (no execution) -e execute (implies checking before) -t test mode (useful for batch tests) -m copy only files modified since <time> -m:ignore ignore this switch (default) -m:epoch copy all files (since all are older than Epoch) -m:lastrun increment (only files modified since last execution) -m:<n>d copy only files modified since <n> days -m:<n>h copy only files modified since <n> hours -m:<n>m copy only files modified since <n> minutes -m:<n>s copy only files modified since <n> seconds
Possible operations are:
- list: this lists elements under a given element (or root if none given)
- check: this checks a given element for validity (or root if none given)
- execute: this executes a given element (or root if none given)
- test: this is a simplified execution (use only for batch tests)
Execution output
A typical execution ouput may look like this (English locale):
j4copy v0.9 - Copyright(c) 2003-2004 Stephane Konigsdorfer j4copy is free for non-commercial use, see license.txt for details. Execution complete (e=0,w=0,f=9) - Elapsed time = 8 sec.
This means that no (e)rror occured, no (w)arning occured, and 9 (f)iles were copied. In addition, the execution took 8 seconds (elapsed time).
Note that in case of errors or warnings, they are output to stderr.