16 lines
514 B
XML
16 lines
514 B
XML
$ pda set a1 1
|
|
$ pda set a2 2
|
|
$ pda set b1 3
|
|
$ fecho dumpfile {"key":"a1","value":"1","encoding":"text"} {"key":"a2","value":"2","encoding":"text"} {"key":"b1","value":"3","encoding":"text"}
|
|
$ pda rm a1 a2 b1
|
|
$ pda import --key "a*" --file dumpfile
|
|
ok restored 2 entries into @default
|
|
$ pda get a1
|
|
1
|
|
$ pda get a2
|
|
2
|
|
$ pda get b1 --> FAIL
|
|
FAIL cannot get 'b1': no such key
|
|
hint did you mean 'a1'?
|
|
$ pda import --key "c*" --file dumpfile --> FAIL
|
|
FAIL cannot restore '@default': no matches for key pattern 'c*'
|