Bug 298035 - Allow creation of directory trees during import
Summary: Allow creation of directory trees during import
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Albums (show other bugs)
Version: 2.6.0
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-13 09:38 UTC by Tom Vincent
Modified: 2021-12-29 14:14 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0
Sentry Crash Report:
duckhorn.malte: Junior_Jobs+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Vincent 2012-04-13 09:38:00 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.151 Safari/535.19
Build Identifier: 

Similar to Bug 144227, I'd like to create a tree of directories based on the picture date during import. Something like:

[year]/[month]/[day]

Currently, Digikam disallows forward slashes (directories) in the import name.

Reproducible: Always
Comment 1 Rob 2013-10-17 03:36:54 UTC
If the album name already exists, then it appears digikam will import the photos to the correct directory, however it still will not create the directory (I tested version 3.5.0 and a version from git repo 4.0.0-beta1)
Comment 2 Teemu Rytilahti 2013-12-02 17:31:43 UTC
Starting point for fixing this would be ImportUI::createSubAlbum(KUrl& downloadUrl, const QString& subalbum, const QDate& date) or createAutoAlbum() in the same class, in case support for folders should be wanted.
Comment 3 Teemu Rytilahti 2013-12-05 01:03:12 UTC

*** This bug has been marked as a duplicate of bug 294602 ***
Comment 4 caulier.gilles 2021-12-29 14:14:05 UTC
Fixed with #294602