[Feature] CLI recursive upload with auto albums, subdirs should not create own albums #2360
Replies: 2 comments
-
|
I’m starting to move my family photo database , I’ve hundreds of thousands of photos, divided in folder structure. obviously many of them have some subfolder in it that mess up the album creation. this feature is so much needed to import first time all your photos in Immich. |
Beta Was this translation helpful? Give feedback.
-
|
To keep things simple for the beginning, I suggest to just add an option to Immich CLI to name albums according to the entire (recursive) folder path and not just from the directory including the imported files, e. g. instead of currently /Vacation/2026/Climbing -> Album "Climbing" it should be /Vacation/2026/Climbing -> Album "Vacation 2026 Climbing" or similar. The required changes to my understanding only affect the Immich CLI itself, not the core / DB or any type of frontend. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The feature
I just started playing with Immich, awesome work so far. I found the CLI to automatically upload from existing files and it worked great.. recursive upload with automatic album creation got my photo library into Immich with ease.
The only issue that would be wonderful if there was a resolution for is that every sub directory has an album created for it. One potential solution would be to give an option for top level only directory album creation, but that would also require the capability of albums to have subfolders.
For example, here's a filesystem of photos that was CLI uploaded:
Photo Library
\Vacation - Destination
\Area 1
\Area 2
\Area 3
In this example an album is created for Vacation - Destination, Area 1, Area 2, Area 3 when ideally the only album created would be for Vacation - Destination and the subfolders Area 1, Area 2, Area 3 all stay in tact as sub albums under Vacation - Destination
Another mostly acceptable solution would be for photos in subfolders (Area 1, Area 2, Area 3) are all added in the main album of the parent sub folder (Vacation - Destination) so at least all photos are in the same main album. Having an album for Vacation - Destination and then another random album for Area 3 makes no sense if you're trying to view things related to Vacation - Destination.
Hope this all makes sense and can be something to work on!
Platform
Beta Was this translation helpful? Give feedback.
All reactions