Feature #117

JDUnrar: Better Subfolder Handling

Added by pspzockerscene over 11 years ago. Updated over 8 years ago.

Status:ClosedStart date:06/27/2009
Priority:NormalDue date:
Assignee:-% Done:


Target version:040 - FarfarAway


-Only use subfolder if archive DOES NOT contain any folders

-if archive contains only one folder, move all files of this folder in the previous folder
\\MainDownloaddir\PackageDownloaddir (=packagename)\archive.rar
Now if i have only 1 folder in the whole archive it makes no sense pecause then it looks like this:
\\MainDownloaddir\PackageDownloaddir (=packagename)\unpacked_folder_of_archive.rar\files..
...but the user wants JD to move the files into the PackageDownloaddir like this:
\\MainDownloaddir\PackageDownloaddir (=packagename)\files_found_in_the_folder_in_the_archive.rar

-if archive contains only 1 folder, use this one instead of the PackageDownloaddir
\\MainDownloaddir\PackageDownloaddir (=packagename)\unpacked_folder_of_archive.rar\files..
So if there is only 1 folder in archive.rar the user wants JD NOT to use the PackageDownloaddir, just extract the archive into the MainDownloaddir and then unpack it:

Related issues

Related to Feature #431: Grouping: Extraction related bugs and features New 08/27/2009
Duplicated by Feature #996: JDUnrar: create folder if rar does not contain folder Closed 11/29/2009

Also available in: Atom PDF