#1
|
||||
|
||||
implement flat extraction
I searched the website and asked raztoki on irc and haven't found anything in the adv options.
Please consider adding flat extraction. Downloading some independent files but still related to later have to hassle with moving them into one folder isn't optimal. |
#2
|
||||
|
||||
I'm sorry but what exactly is *flat extraction* ? Do you mean ignore subfolders within the archive and just extract all files into one destination folder?
__________________
JD-Dev & Server-Admin |
#3
|
||||
|
||||
yes
|
#4
|
||||
|
||||
Can you please provide example archives/links for such a use case? Please send them to support@jdownloader.org
__________________
JD-Dev & Server-Admin |
#5
|
||||
|
||||
this will cause possible conflicts, for example what do you do with files of the same filename, now that they share the same path?
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] Last edited by raztoki; 29.01.2018 at 15:42. |
#6
|
||||
|
||||
>what do you do with files of the same name and that they share the same path?
skip them? Make it "hidden" in the advanced config. The path is irrelevant anyway. **External links are only visible to Support Staff****External links are only visible to Support Staff** |
#7
|
||||
|
||||
for instance
test.zip contains Code:
a.txt directory1/a.txt directory2/a.txt ... raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#8
|
||||
|
||||
I mean come on. What do you think the likelihood will be this will be the case? Unless these are meta files like thumbs.db or _dstore mac files.
And it's not an option that will be turned on by default. People who will have set that will hopefully know they did. This is QOL. |
#9
|
||||
|
||||
I never implied it will be common, though it will happen (yes meta files are the most likely, though so are install.txt, readme.txt. etc.). When programming a feature like you requested, you will need to make allowances for it. It will most likely mean additional options within archive setting pane or dialog popups (like general settings when file exists).
raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#10
|
||||
|
||||
oh I'm sorry. I thought it be easy since it's something unrar provides anyway.
thank you guys for considering and incorporating it. May you be blessed. |
#11
|
|||
|
|||
Quote:
1. Overwrite: Each successive file with the same name would overwrite the previous one till in the end only the last one is left (which exactly that is would depend upon how unrar steps through the archive). 2. Skip: Each successive file with the same name would be skipped till in the end only the first one is left (which exactly that is would depend upon how unrar steps through the archive). 3. Rename: Each successive file with the same name would be auto-renamed (perhaps with numbers like (1), (2) etc.) so that none are left out. |
#12
|
||||
|
||||
@netgearjd: I like those 3 options which can also be used for normal extraction
__________________
JD-Dev & Server-Admin |
#13
|
||||
|
||||
I have no idea why you guys are complicating this so much. This feature is meant for media files and quality of life not software packages. You have to put this into context dont think aboslutely.
If one turns this on, turns on delete archives after extraction, you're pretty much effed anyway, then you wont care about skipping and renaming. also it seems jd2 is using 7zip not unrar (anymore?). |
#14
|
||||
|
||||
@NesteaZen: JDownloader is using 7zip since years now
__________________
JD-Dev & Server-Admin |
#15
|
|||
|
|||
Quote:
IMO auto-rename should be the default for max. safety, so that even if delete archives after extraction is selected no files with the same names will be lost. Those users who don't care and want to live dangerously can change the setting to overwrite or skip and enjoy. Best of both worlds, and no-one can complain that they lost files because JD didn't provide an auto-rename option. |
|
|