X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=guestfish-actions.pod;h=d47e9bf9bd3fa054147b938ea4db21d2a44a10ae;hb=286841877f4223d67ec00b83e5a2aabfbb9e19ed;hp=63122886711a212a038393eea32583c8faf4d140;hpb=fb19874b1e1c40f3f5efafb39151b1bfc3ef725e;p=libguestfs.git diff --git a/guestfish-actions.pod b/guestfish-actions.pod index 6312288..d47e9bf 100644 --- a/guestfish-actions.pod +++ b/guestfish-actions.pod @@ -193,6 +193,23 @@ Note that this function cannot correctly handle binary files as end of string). For those you need to use the C function which has a more complex interface. +=head2 chmod + + chmod mode path + +Change the mode (permissions) of C to C. Only +numeric modes are supported. + +=head2 chown + + chown owner group path + +Change the file owner to C and group to C. + +Only numeric uid and gid are supported. If you want to use +names, you will need to locate and parse the password file +yourself (Augeas support makes this relatively easy). + =head2 config config qemuparam qemuvalue @@ -302,6 +319,19 @@ See also C. List all the logical volumes detected. This is the equivalent of the L command. The "full" version includes all fields. +=head2 mkdir + + mkdir path + +Create a directory named C. + +=head2 mkdir-p + + mkdir-p path + +Create a directory named C, creating any parent directories +as necessary. This is like the C shell command. + =head2 mount mount device mountpoint @@ -356,6 +386,26 @@ Note that this function cannot correctly handle binary files as end of line). For those you need to use the C function which has a more complex interface. +=head2 rm + + rm path + +Remove the single file C. + +=head2 rm-rf + + rm-rf path + +Remove the file or directory C, recursively removing the +contents if its a directory. This is like the C shell +command. + +=head2 rmdir + + rmdir path + +Remove the single directory C. + =head2 set-autosync | autosync set-autosync true|false