GBDI 4.2

Pulling Data Manually

If the Incoming Server URI is not specified, sonargd waits for files to appear in the incoming folder.

The option exists to copy files to the incoming folder from any other source, e.g. via a shell script that uses scp or rsync.

An example of a bash script that will copy files from the remote server to the incoming folder is shown below:

#!/bin/bash REMOTE_HOST=myhost REMOTE_DIR=mydir

files = $(rsync -rt --out-format='%n' ${REMOTE_HOST}:$)