efficiently copying files and dirs between images
Posted: Thu May 17, 2018 7:32 am
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)?
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)?