efficiently copying files and dirs between images

Comments, questions, bug reports, etc.
Post Reply
bliblubli
Posts: 88
Joined: Thu Dec 31, 2015 10:45 am

efficiently copying files and dirs between images

Post by bliblubli »

Hi,
is there an efficient way to copy a dir or file from one image to another inside a wim file. When I do it with wimmount (for source image) and wimmountrw (for destination image), wimlib first decompresses the whole dir or file to a staging dir, which is long and memory and IO hungry, to then rescan the whole thing to update the image when commiting.

It takes sometime hours, also in fact, as all those files are already present and compressed in the wimfile, it's just about appending some blobs refs to the updated image (which should be about a few kilobytes done in a few seconds with a command like cp image1/path image4/path)?
synchronicity
Site Admin
Posts: 472
Joined: Sun Aug 02, 2015 10:31 pm

Re: efficiently copying files and dirs between images

Post by synchronicity »

No, this has been requested once before; I'll consider it.
bliblubli
Posts: 88
Joined: Thu Dec 31, 2015 10:45 am

Re: efficiently copying files and dirs between images

Post by bliblubli »

Looking forward :) More atomic functions would make wimmlib very powerfull.
Post Reply