SYNOPSIS
ccnrepoimport [-timeout <millis>] [-log <level>] repodir filename
DESCRIPTION
The ccnrepoimport utility is being deprecated and its use is discouraged.
The command merges Content Objects in a local file (filename) into the Repository located in repodir. Content Objects must be in the standard Repo form. The Repository located in repodir must be currently served by an instance of ccnr; ccnrepoimport will not work with ccn_repo.
repodir is an absolute or relative pathname of the directory containing the Repository. filename is an absolute or relative pathname of the file from which content is being imported. If relative, pathnames must be relative to the directory in which ccnrepoimport is being executed.
If the command is accepted, the Repository attempts to open and parse the specified file. If there are no errors, Content Objects in the file that are not already in the Repository are added, and Content Objects that are already in the Repository are ignored.
OPTIONS
- -timeout <millis>
-
Sets the timeout that will be used for importing the file, in milliseconds. This time depends on the length of the import file. If not specified, the default is 20000 (20 seconds).
- -log <level>
-
Set the logging level. <level> must be an acceptable Logger level: either an integer or a level name (e.g., "SEVERE"). If not specified, the default is INFO.
EXIT STATUS
- 0
-
Success
- 1
-
Failure
AUTHOR
Paul Rasmussen <rasmussen@parc.com>