summaryrefslogtreecommitdiffstats
path: root/guestfish-actions.pod
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-18 22:33:15 +0100
committerRichard Jones <rjones@redhat.com>2009-04-18 22:33:15 +0100
commitbb07a7f858da5d07c57360e62c0ddfd24ce6be45 (patch)
tree56201f1c514d8d79a56251b104c3d8a135fcbd39 /guestfish-actions.pod
parent7bf3e1a43512293b1a3f78f880b57e7bbd372eae (diff)
downloadlibguestfs-bb07a7f858da5d07c57360e62c0ddfd24ce6be45.tar.gz
libguestfs-bb07a7f858da5d07c57360e62c0ddfd24ce6be45.tar.xz
libguestfs-bb07a7f858da5d07c57360e62c0ddfd24ce6be45.zip
Begin to add the upload and download commands.
Diffstat (limited to 'guestfish-actions.pod')
-rw-r--r--guestfish-actions.pod26
1 files changed, 26 insertions, 0 deletions
diff --git a/guestfish-actions.pod b/guestfish-actions.pod
index 6fa86492..5013a280 100644
--- a/guestfish-actions.pod
+++ b/guestfish-actions.pod
@@ -358,6 +358,19 @@ The first character of C<param> string must be a C<-> (dash).
C<value> can be NULL.
+=head2 download
+
+ download remotefilename (filename|-)
+
+Download file C<remotefilename> and save it as C<filename>
+on the local machine.
+
+C<filename> can also be a named pipe.
+
+See also C<upload>, C<cat>.
+
+Use C<-> instead of a filename to read/write from stdin/stdout.
+
=head2 exists
exists path
@@ -803,6 +816,19 @@ This unmounts all mounted filesystems.
Some internal mounts are not unmounted by this call.
+=head2 upload
+
+ upload (filename|-) remotefilename
+
+Upload local file C<filename> to C<remotefilename> on the
+filesystem.
+
+C<filename> can also be a named pipe.
+
+See also C<download>.
+
+Use C<-> instead of a filename to read/write from stdin/stdout.
+
=head2 vgcreate
vgcreate volgroup physvols,...