Tools » History » Version 1
Weiqi Shi, 08/20/2014 10:44 AM
| 1 | 1 | Weiqi Shi | Tools |
|---|---|---|---|
| 2 | ===== |
||
| 3 | repo tools use the command line to instruct different behavior of repo. |
||
| 4 | |||
| 5 | ## ndnputfile |
||
| 6 | |||
| 7 | This tool is used to insert data into repo. |
||
| 8 | |||
| 9 | $ndnputfile <command> repo-prefix ndn-name filename |
||
| 10 | |||
| 11 | Here is a list of commands supported so far: |
||
| 12 | |||
| 13 | $ndnputfile -h |
||
| 14 | -u: unversioned: do not add a version component |
||
| 15 | -s: single: do not add version or segment component, implies -u |
||
| 16 | -D: use DigestSha256 signing method instead of SignatureSha256WithRsa |
||
| 17 | -i: specify identity used for signing Data |
||
| 18 | -I: specify identity used for signing commands |
||
| 19 | -x: FreshnessPeriod in milliseconds |
||
| 20 | -l: InterestLifetime in milliseconds for each command |
||
| 21 | -w: timeout in milliseconds for whole process (default unlimited) |
||
| 22 | -v: be verbose |