SUMMARY The goal was to create date based directires and files. Import process created the directories, album view created folders with unexpected named. Image files are in the right place. but with names derived from full path. Files are not accessible in DK. STEPS TO REPRODUCE 1. Import - Add Images 2. Chosing an input/import folder 3. Images are shown (8 files) 4. Selecting a single image 5. right: Settings 6. Scripting, DNG, On The Fly: nothing 7. Auto Creation of Albums: Date Based sub-albums, date format: yyyy\yyyy-MM-dd 8. File Renaming Options, customize, [date:"yyyyMMdd_hhmmss"]{unique} EXPECTED RESULT 1. JPG file is moved to: {MY TOP}\2021\2021-06-12\20210612_122413.jpg 2. JPG is renamed to 20210612_122413.jpg 3. XMP file handled the same. 4. JPG is visible in expected album in DK OBSERVED RESULT 1. JPG file was correctly moved to: {MY TOP}\2021\2021-06-12\ 2. JPG file was incorrectly named based on full file path. 3. Input XMP was not copied and was regenerated on the fly after a few seconds. This will mislead users unless they check XMP contents. 4. The copied JPG was not accessible in DK, see attached screenshot. ADDITIONAL INFORMATION My workaround: change folder pattern: \ -> /
Created attachment 180688 [details] Import - Settings
Created attachment 180689 [details] Folders created by the import. This shows folders created by the import. The first 3 dated folders contaned filed, but DK lists the folders had 0 fiiles. Refreshing folders didn't help (probbaly a minor DB coccuption). To recover, I deleted the folders and reran the import, using "/" in the folder pattern.
We're a *nix program and internally use "/" as the directory separator. And yes, Windows also understands "/" as a directory in its API, just not in the CMD. Maik
Git commit 83d5cd8245d8aecd476e5275b8c352a67338f7c2 by Maik Qualmann. Committed on 26/04/2025 at 19:21. Pushed by mqualmann into branch 'master'. replace backslash with slash on Windows FIXED-IN: 8.7.0 M +1 -1 NEWS M +10 -1 core/utilities/import/widgets/albumcustomizer.cpp https://invent.kde.org/graphics/digikam/-/commit/83d5cd8245d8aecd476e5275b8c352a67338f7c2
Understood & thanks for the quick fix!