Re: [pve-devel] Xen to Proxmox: one perl question

2018-07-03 Thread Gandalf Corvotempesta
Il giorno mar 3 lug 2018 alle ore 09:12 Wolfgang Bumiller ha scritto: > Or you just extract the files while downloading by piping to tar/bsdtar. > Also, seeing how this isn't a task you do 100 times a day every day, > time shouldn't be that much of an issue. Biggest issue is that you have to extr

Re: [pve-devel] Xen to Proxmox: one perl question

2018-07-03 Thread Wolfgang Bumiller
On Mon, Jul 02, 2018 at 08:44:30PM +0200, Gandalf Corvotempesta wrote: > I'm trying to convert my simple bash script to a perl one (hoping > would be included in PVE), for directly convert a Xen VM to a PVE/KVM > on ZFS, in a single pass. > > I have one question: can someone tell me how to read a

[pve-devel] Xen to Proxmox: one perl question

2018-07-02 Thread Gandalf Corvotempesta
I'm trying to convert my simple bash script to a perl one (hoping would be included in PVE), for directly convert a Xen VM to a PVE/KVM on ZFS, in a single pass. I have one question: can someone tell me how to read a huge tar file (from a pipe) and extract one file at once? Something like the fol