You have the option of starting your rapClient desktop client with the
rapclient command. The following options are supported:
- Displays all command options.
The other options are:
- Opens a window displaying log output.
- Write log output to the file specified. To write to stdout, specify - as the filename.
- Writes each synchronization log output in a new file in the specified directory.
- Removes logs older than the value specified (in hours). This command is used with
- Clears (flushes) the log file after each write action.
- Uses the specified configuration directory.
The RAP Client reads a configuration file. You can locate this configuration file as follows:
- On Linux distributions:
- On Microsoft Windows systems:
- On MAC OS X systems:
The configuration file contains settings using the Microsoft Windows .ini file format. You can overwrite changes using the RAP Client configuration dialog.
Use caution when making changes to the RAP Client configuration file. Incorrect settings can produce unintended results.
You can change the following configuration settings (must be under the
30000) – Specifies the poll time for the remote repository in milliseconds.
20000) – Specifies the maximum number of log lines displayed in the log window.
rapClient Command Line Client
The RAP Client packages contain a command line client,
, that can be used to synchronize RAP files to client machines.
performs a single sync run and then exits the synchronization process. In this manner,
processes the differences between client and server directories and propagates the files to bring both repositories to the same state. Contrary to the GUI-based client,
does not repeat synchronizations on its own. It also does not monitor for file system changes.
, you must provide the local and the remote repository URL using the following command:
rapclientcmd [OPTIONS...] sourcedir rapclienturl
sourcedir is the local directory and
rapurl is the server URL.
Other command line switches supported by
include the following:
user as the login name.
password as the password.
netrc (5) for login.
- Do not prompt for questions.
- Inhibits verbose log output.
- Trust any SSL certificate, including invalid ones.
server as HTTP proxy.
- Uses Non Shibboleth WebDAV Authentication
- Overrides the WebDAV Path with
- Exclude list file
- File containing the list of unsynced folders (selective sync)
- Retries maximum n times (defaults to 3)
- Sync hidden files, do not ignore them
uses the credentials of the GUI synchronization client. If no client is configured, or if you choose to use a different user to synchronize, you can specify the user password setting with the usual URL pattern. For example:
$ rapclientcmd / https://admin:secret@server/rapclint/remote.php/webdav/
To synchronize the RAP directory
Music to the local directory
media/music, through a proxy listening on port
8080, and on a gateway machine using IP address
172.16.0.100, the command line would be:
$ rapclientcmd --httpproxy http://172.16.0.100:8080 \
will prompt for the user name and password, unless they have been specified on the command line or
-n has been passed.