inspect: Fix some small memory leaks in Windows inspection.
[libguestfs.git] / recipes / export2tar.html
index 8dc07ca..9d9f2d4 100644 (file)
@@ -1,5 +1,3 @@
-<h2>Export the /home directory from a virtual machine into a tarball</h2>
-
 <p>
 This script lets you export any directory you like from a virtual
 machine as a tarball.  For example, to export <code>/home</code>
@@ -7,10 +5,16 @@ from a standard Fedora or RHEL virtual machine you would do:
 </p>
 
 <pre>
-export2tar guest.img /dev/VolGroup00/LogVol00 /home home.tar.gz
+export2tar.sh guest.img /dev/VolGroup00/LogVol00 /home home.tar.gz
 </pre>
 
 <p>
 <code>/dev/VolGroup00/LogVol00</code> is the partition or LV <i>inside</i>
 the VM which contains the directory you want.
 </p>
+
+<p>
+See also <a href="http://libguestfs.org/virt-tar.1.html">virt-tar</a>
+and <a href="https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/#content">Richard
+Jones's complete list of ways to upload and download files</a>.
+</p>