copy_out


Description:

[ Version ( since = "1.29.24" ) ]
public bool copy_out (string remotepath, string localdir) throws Error

copy remote files or directories out of an image

copy_out copies remote files or directories recursively out of the disk image, placing them on the host disk in a local directory called localdir (which must exist).

To download to the current directory, use "." as in:

<![CDATA[copy_out /home .]]>

Wildcards cannot be used.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error