Journal drinkypoo's Journal: Extracting to temp and copying? 10
Not submitting this one to the queue or anything, but why in hell is it that practically every archiver on Windows extracts to the temp folder and then copies the file to the target destination? This approach makes certain archives unusable. For example, let's say you have an archive with two archives inside it and need to extract a file from one of them; you have enough room for the archive, one of the archives inside the archive, and one file inside THAT, but you can't get it out because when the file is extracted, the copy fails, and then the original is deleted. 7-Zip is the program I most recently noticed this behavior in. Is it just an attempt to keep the user from screwing with the open file that the archiver is writing to? And if so, doesn't there have to be a far more intelligent way to handle this problem? If nothing else it would lead to unnecessary filesystem fragmentation.
I wonder the same thing (Score:1)
Sure they copy? (Score:2)
Also, I know WinRAR has the option to set the path used for the temp folder and IIRC only uses that folder for removable drives, normally it DOES extract directly to the destination.
K
Re: (Score:2)
Yes, but it's not a move, it's an explicit copy. My temp and the destination were on the same volume, I extracted a 650MB and a 400MB archive from an archive with 7-Zip, and it was not a move but a copy. Had to sit there and wait for it.
Other programs do explicit copies as well.
I want to know why.
Re: (Score:2)
I tried 7zip to extract a 200MB file from a RAR archive on a Samba share. The file was created on the destination immediately, without use of %temp%. The name of the 7Zip dialog was "Copying xx%" but it was clearly extracting and the destination file was growing.
When I put the RAR inside a local 7z archive using no compression, I had the same results extracting the RAR and then the file.
Only if I double
Re: (Score:2)
Re: (Score:2)
Playing with it further, it seems the size and type of archive and files are not taken into account, this happens on every drag and drop extraction. I guess I was bushing the buttons earlier.
The only reason I can think of for this is in cases where th
Re: (Score:2)
Re: (Score:2)
uneducated guess (Score:1)
Re: (Score:2)
If I'm extracting a couple of files around 500MB (or larger) from an archive on Windows XP on a typical (7200 rpm) hard disk, then I will have to wait approximately six to ten minutes just for those file copies, during which the system is less responsive because of NT's crap scheduler.