--- /dev/null
+$ ./export2tar.sh /dev/mapper/Guests-RHEL53PV32 /dev/VolGroup00/LogVol00 \
+ /home /tmp/home.tar.gz
+$ ll /tmp/home.tar.gz
+-rw-rw-r--. 1 rjones rjones 824 2009-04-25 12:33 /tmp/home.tar.gz
+$ tar ztf /tmp/home.tar.gz
+./
+./rjones/
+./rjones/.bash_profile
+./rjones/.mozilla/
+./rjones/.mozilla/extensions/
+./rjones/.mozilla/plugins/
+./rjones/.bash_logout
+./rjones/.bashrc
+./rjones/.emacs
--- /dev/null
+<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>
+from a standard Fedora or RHEL virtual machine you would do:
+</p>
+
+<pre>
+export2tar 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>