X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fish%2Fguestfish.pod;h=70de8e3982f3678b5fdfb2eb3c72aee09de6c4ce;hp=aeb4c8da81604c11327edafba857d28353f643bd;hb=2635a9c70e5f8aab85bbcb6b7a645f720d1e4466;hpb=43eed091129212dd29996838cf1d76af0f8fc135 diff --git a/fish/guestfish.pod b/fish/guestfish.pod index aeb4c8d..70de8e3 100644 --- a/fish/guestfish.pod +++ b/fish/guestfish.pod @@ -781,6 +781,40 @@ For more advanced image creation, see L utility. Size can be specified using standard suffixes, eg. C<1M>. +=head2 copy-in + + copy-in local [local ...] /remotedir + +C copies local files or directories recursively into the disk +image, placing them in the directory called C (which must +exist). This guestfish meta-command turns into a sequence of +L and other commands as necessary. + +Multiple local files and directories can be specified, but the last +parameter must always be a remote directory. Wildcards cannot be +used. + +=head2 copy-out + + copy-out remote [remote ...] localdir + +C copies remote files or directories recursively out of the +disk image, placing them on the host disk in a local directory called +C (which must exist). This guestfish meta-command turns +into a sequence of L, L and other commands as +necessary. + +Multiple remote files and directories can be specified, but the last +parameter must always be a local directory. To download to the +current directory, use C<.> as in: + + copy-out /home . + +Wildcards cannot be used in the ordinary command, but you can use +this with the help of L like this: + + glob copy-out /home/* . + =head2 echo echo [params ...]