5 virt-copy-out - Copy files and directories out of a virtual machine disk image.
9 virt-copy-out -a disk.img /file|dir [/file|dir ...] localdir
11 virt-copy-out -d domain /file|dir [/file|dir ...] localdir
15 C<virt-copy-out> copies files and directories out of a virtual machine
16 disk image or named libvirt domain.
18 You can give one of more filenames and directories on the command
19 line. Directories are copied out recursively.
23 Download the home directories from a virtual machine:
26 virt-copy-out -d MyGuest /home homes
28 =head1 JUST A SHELL SCRIPT WRAPPER AROUND GUESTFISH
30 This command is just a simple shell script wrapper around the
31 L<guestfish(1)> C<copy-out> command. For anything more complex than a
32 trivial copy, you are probably better off using guestfish directly.
36 Since the shell script just passes options straight to guestfish, read
37 L<guestfish(1)> to see the full list of options.
47 L<http://libguestfs.org/>.
51 Richard W.M. Jones (C<rjones at redhat dot com>)
55 Copyright (C) 2011 Red Hat Inc.
56 L<http://libguestfs.org/>
58 This program is free software; you can redistribute it and/or modify
59 it under the terms of the GNU General Public License as published by
60 the Free Software Foundation; either version 2 of the License, or
61 (at your option) any later version.
63 This program is distributed in the hope that it will be useful,
64 but WITHOUT ANY WARRANTY; without even the implied warranty of
65 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
66 GNU General Public License for more details.
68 You should have received a copy of the GNU General Public License
69 along with this program; if not, write to the Free Software
70 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.