summaryrefslogtreecommitdiffstats
path: root/cat/run-cat-locally
Commit message (Collapse)AuthorAgeFilesLines
* Remove ad-hoc run*locally scripts, replace with './run'Richard W.M. Jones2011-04-161-53/+0
| | | | | Remove all the run*locally scripts and replace with a single top level ./run shell script.
* cat: Fix run-cat-locally script so it doesn't go via Perl.Richard W.M. Jones2010-11-191-1/+1
|
* Rewrite virt-cat in C.Richard W.M. Jones2010-11-111-0/+53
| | | | | | | | | | | | | | | | | With changes in the core API since 1.5, virt-cat was little more than a Perl wrapper which did some command line argument processing. Thus it could easily be rewritten in C. This version also shares core command line argument processing with guestfish and guestmount, so the options have changed slightly (old-style command line *is* supported). virt-cat -a disk.img file [file ...] virt-cat -d domname file [file ...] Several other guestfish options are supported including encryption, and with the new style multiple files can be downloaded. See the man page for details.
* Move virt tools (virt-cat, virt-edit etc) into tools/ subdirectory.Richard Jones2009-10-191-52/+0
| | | | | | | | | | | | | | | | | | This moves the tool programs into a single directory: cat/* -> tools/virt-cat df/* -> tools/virt-df edit/* -> tools/virt-edit rescue/* -> tools/virt-rescue This in itself simplifies the build process because we only need one Makefile and one copy of 'run-locally'. 'run-*-locally' has become just 'run-locally' and takes an extra parameter which is the name of the tool, eg: run-locally cat [virt-cat params...] virt-inspector stays in its own directory, because this contains more than just a single Perl script.
* run-*-locally: The programs are now virt-[tool], not virt-[tool].plRichard Jones2009-10-011-1/+1
| | | | This fixes commit b488436cc54288fcae8988493749f2e6c87f274c.
* Check return value from readlink.Richard Jones2009-09-231-1/+1
|
* New tool virt-cat: display a file in a virtual machine.Richard Jones2009-07-151-0/+52
This script is just a simpler way to cat a file from a VM. It is otherwise equivalent to using guestfish. virt-cat someguest /etc/fstab virt-cat someguest /var/log/messages | tail