Bug 336039

Summary: Automatic folder creation when importing
Product: [Applications] gwenview Reporter: Pierre THOMAS <pithomas>
Component: importerAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: myriam, nate, piotergmoter
Priority: NOR    
Version: 4.13.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 19.12.0

Description Pierre THOMAS 2014-06-10 12:47:52 UTC
I only want to ask for a new feature in GwenView:  when importing photos from the camera memory card, having the possibility to create automatically a folder which name is the shooting date.

Reproducible: Always
Comment 1 Piotr 2015-03-13 17:08:53 UTC
Yes, I vote for this also. See my post here
https://forum.kde.org/viewtopic.php?f=213&t=125355&p=331077#p331077
Comment 2 Nate Graham 2019-10-31 20:24:00 UTC
Git commit 0eacf80b9331a0156327c7df586af802276abd44 by Nate Graham, on behalf of Bart De Vries.
Committed on 31/10/2019 at 20:23.
Pushed by ngraham into branch 'master'.

Create additional subfolders if needed (e.g. when extra slashes in FileNameFormater).

Summary:
The importer will (recursively) create additional subfolders if the autoformatter pattern
contains slashes.
Add additional unit tests to importertest.
Related: bug 237114
FIXED-IN: 19.12.0

Test Plan:
Added additional unit tests to check the creation of subfolders when slashes are present
in the autoformatter pattern.

Reviewers: #gwenview, ngraham

Reviewed By: #gwenview, ngraham

Subscribers: ngraham

Tags: #gwenview

Differential Revision: https://phabricator.kde.org/D25016

M  +13   -1    importer/importer.cpp
M  +21   -0    tests/auto/importertest.cpp

https://commits.kde.org/gwenview/0eacf80b9331a0156327c7df586af802276abd44