Is there a way to make DOpus check if there is a folder in a zip file and only in this case extract it to a subfolder?
I searched quite around a bit, so far didnt find anything.
The main reason why I still use other unpackers is because I always need to check if there is a subfolder in the zip; makes a few clicks more than just extract the whole thing.
I want DOpus to check, if there is only one folder in the zip, if yes -> just extract; if no -> extract to subfolder altogether. I know it is only one click away if it is 2 subfolders, still it makes a difference on a network drive for instance, because it adds to the path length (I have a veeeery "touchy" nas substitute at the time being).
Sorry for my cumbersome explanation, I didnt sleep last night and then English gives me a knot in the brain^^.
Thanks Leo, that would definitely be a very useful feature (I know some download manager is capable of this, but I'm not sure if that info is of any use to you).
In principal, I agree this would be valuable - but it's only something "I" would use if it were done in such a way that Opus would only skip creating the new base folder if the single folder inside the root of the archive was the same base name as the archive file itself. In other words... "my" desired intent here would be to prevent two duplicate/nested folder names from being created.
My reasoning:
I do normally prefer to extract archives using 'copy extract=sub'... So if the archive file name is "my_archive.7z" and the only thing in the root of the archive is a folder ALSO called "my_archive"... then it makes sense to me NOT to create an ~additional parent folder with the same name as that which is already inside the archive ( "my_archive").
The other way around... if Opus were to ALWAYS suppress creating a new base folder to extract to ANYTIME an archive contained only a single folder in the root of the archive - regardless of the name of that folder, then particularly inside a large folder list I might lose track of what was extracted. If I was expecting a folder called "my_archive" but I end up with a folder called "zz_archive", then that would NOT be desirable or useful to me because it's not what I expected.
Maybe this could best be implemented as an additional/modified option(s) to the extract argument... copy extract=subnodupebasefolder... blah blah blah, or perhaps two options to accommodate both needs.
Hm, okay, I guess I got a bit confused about what I was trying to do.
Just to put it in words so my own request gets a little clearer. Any other/ opposing request might as well be very justified, but my concern is, as soon as there is only one folder inside, extract w/o creating folder. Reason is that normally I work have files that do relate to the filename, so file name of zip and containing folders are quite similar anyway. And my main concern usually has to be path length.
But as soon as they implement it, I think an option as to how tight to the filename that foldername should be, could be an option.