mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
todo: Remove discussion of copy-in/copy-out.
This commit is contained in:
33
TODO
33
TODO
@@ -362,36 +362,3 @@ We would like to add:
|
||||
- An easier way to use this from guestfish.
|
||||
- Direct access to the /dev/mapper device (eg. if it contains
|
||||
anything apart from VGs).
|
||||
|
||||
Recursive upload / download of multiple files
|
||||
---------------------------------------------
|
||||
|
||||
virt-tar is really clumsy to use, and upload/download in guestfish can
|
||||
only do single files. tar-in in guestfish can upload multiple files,
|
||||
but only if you have prepared a tarball in advance.
|
||||
|
||||
What we really need is a method which is as easy to use as 'scp' and
|
||||
'scp -r'.
|
||||
|
||||
Can we add this as a command in guestfish? This will be more useful
|
||||
since users will already need to be in guestfish in order to create
|
||||
target directories, review what they've done etc. It could be a meta-
|
||||
command such as:
|
||||
|
||||
copy-in-recursive localdir remotedir
|
||||
copy-out-recursive remotedir localdir
|
||||
|
||||
which would hide use of tgz-in etc.
|
||||
|
||||
Other thoughts on this:
|
||||
|
||||
virt-cp or virt-rcp or virt-copy or virt-scp or ...?
|
||||
|
||||
virt-copy *.c *.h GuestName:/tmp/
|
||||
|
||||
virt-copy -r dir/ GuestName:/tmp/
|
||||
|
||||
virt-copy GuestName:/tmp/foo* .
|
||||
|
||||
virt-copy disk.img:/tmp/bar* otherdisk.img:/tmp
|
||||
( probably not because it requires multiple libguestfs connections)
|
||||
|
||||
Reference in New Issue
Block a user