#8519 closed enhancement (fixed)
Expander should have option to create directories that don't exist.
Reported by: | kallisti5 | Owned by: | korli |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/Expander | Version: | R1/Development |
Keywords: | Cc: | przemub@… | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
- Provide Expander a path to expand to that doesn't exist
- Press extract.. Expander says "Destination folder doesn't exist"
- A more useful feature may be to ask the user:
"Destination folder doesn't exist, create?" <Yes> <No>
Attachments (3)
Change History (14)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Milestone: | R1/alpha4 → Unscheduled |
---|
This is feature creep and should not be in the alpha4 milestone. Moving to unscheduled.
comment:3 by , 12 years ago
Cc: | added |
---|
by , 12 years ago
Attachment: | gci2012-expander-patch-8519.diff added |
---|
A patch from Przemysław Buczkowski (GCI 2012)
comment:4 by , 12 years ago
patch: | 0 → 1 |
---|
comment:5 by , 12 years ago
Milestone: | Unscheduled → R1 |
---|
comment:6 by , 12 years ago
Looks like this patch need some love - in case there are some nested nonexisted folders - data will be extracted in wrong folder. :-( For example: set the destination to /boot/home/desktop/uu/uu and start expanding - folders are created but files were extracted to Desktop instead of uu/uu folder.
comment:7 by , 12 years ago
Replying to siarzhuk:
Looks like this patch need some love - in case there are some nested nonexisted folders - data will be extracted in wrong folder. :-( For example: set the destination to /boot/home/desktop/uu/uu and start expanding - folders are created but files were extracted to Desktop instead of uu/uu folder.
Indeed. :/ I'll find a workaround in a moment...
by , 12 years ago
Attachment: | commit-64eda3e.diff added |
---|
A patch from Przemysław Buczkowski (GCI 2012) (corrected) (corrected)
comment:8 by , 12 years ago
I found - it was necessary to create new BEntry after creating a directory path.
comment:11 by , 18 months ago
Before beginning the procedure that requires the directories, make sure they are present. The filesystem API of the framework or its programming language blossom word game can be used to create the directory if it doesn't already exist before carrying out the desired activity.
Some archives store only one folder and Expander handle it correctly, but some other store files and folders directly in archive. This archives should be extracted in separate folder(usually named as archive but without file extension).
Extra checkbox "Extract in separate folder" can be added.