X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=hivex%2Fhivexsh.pod;h=a31d9e0bd04bb579a7001644ee3c5a73e21d5f21;hb=c0baa7bdb2b404e8c808700984b3fc1a699d8dd7;hp=e7e8d9436d73d86180cae47cf763298b9208d430;hpb=d9d885e7c8d93f0623cb0525e725f86969bb1033;p=libguestfs.git diff --git a/hivex/hivexsh.pod b/hivex/hivexsh.pod index e7e8d94..a31d9e0 100644 --- a/hivex/hivexsh.pod +++ b/hivex/hivexsh.pod @@ -79,6 +79,20 @@ If this option is not given, then write commands are disabled. =over 4 +=item B name + +Add a subkey named C below the current node. The name may +contain spaces and punctuation characters, and does not need to be +quoted. + +The new key will have no subkeys and no values (see C). + +There must be no existing subkey called C, or this command will +fail. To replace an existing subkey, delete it first like this: + + cd name + del + =item B path Change to the subkey C. Use Windows-style backslashes to @@ -100,7 +114,14 @@ or even: Path elements (node names) are matched case insensitively, and characters like space, C<*>, and C have I special significance. -C<..> may be used to go to the parent directory. +C may be used to go to the parent directory. + +C without any arguments prints the current path. + +Be careful with C since the readline library has an undocumented +behaviour where it will think the final backslash is a continuation +(it reads the next line of input and appends it). Put a single space +after the backslash. =item B | B @@ -119,6 +140,14 @@ file is overwritten. Note that you have to specify the C<-w> flag, otherwise no writes are allowed. +=item B + +Delete the current node and everything beneath it. The current +directory is moved up one level (as if you did C) after +this command. + +You cannot delete the root node. + =item B | B Exit the shell.