C2WATCHDIR
Last updated
Last updated
The C2WATCHDIR
command monitors a directory and sends any new files to the Cloud C² server and then removes the local file.
C2WATCHDIR
is most useful for collecting larger collections of data, and uses USB external storage as a temproary scratch disk.
C2WATCHDIR
expects one option: the path to the directory to monitor.
By default, C2WATCHDIR
removes files after they are sent to Cloud C². To keep them, set the C2_KEEP_FILES
variable before running C2WATCHDIR
:
You can experiment using the C2WATCHDIR
command live, either in the Web Shell in the web UI, or via ssh
!