Bug 336039 - Automatic folder creation when importing
Summary: Automatic folder creation when importing
Status: RESOLVED FIXED
Alias: None
Product: gwenview
Classification: Applications
Component: importer (show other bugs)
Version: 4.13.0
Platform: Kubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-10 12:47 UTC by Pierre THOMAS
Modified: 2019-10-31 20:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 19.12.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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