Bug 298035

Summary: Allow creation of directory trees during import
Product: [Applications] digikam Reporter: Tom Vincent <kde>
Component: Import-AlbumsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: a.steffan, caulier.gilles, duckhorn.malte, rob, tpr
Priority: NOR Flags: duckhorn.malte: Junior_Jobs+
Version: 2.6.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 7.5.0

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