Coder Social home page Coder Social logo

Comments (4)

Salvoxia avatar Salvoxia commented on July 19, 2024 1

Thanks for your interest!
Yes, I think that's absolutely doable. Give me a couple of days to look into it.

from immich-folder-album-creator.

Salvoxia avatar Salvoxia commented on July 19, 2024 1

I just pushed a new version of the script that supports two new arguments:

options:
  -a ALBUM_LEVELS, --album-levels ALBUM_LEVELS
                        Number of levels of sub-folder for which to create separate albums (default: 1)
  -s ALBUM_SEPARATOR, --album-separator ALBUM_SEPARATOR
                        Separator string to use for compound album names created from nested folders (default: )

-a behaves exactly as you described.
-s is the string used to combine nested folder names into a complete album name. The default is a blank.

2023
--2023-01
  --Vacation

An album created from the above structure with -a 3 would be called 2023 2023-01 Vacation.
If you were to use -a 2 -s " - ", it would be called 2023 - 2023-01 and contain all images from 2023-01 and from 2023-01/Vacation.

Please test the script in master branch or use the Docker container with the latest tag.
If it works for you as expected (it did in my own tests), I'll build a new release with updated README.

from immich-folder-album-creator.

wnaude avatar wnaude commented on July 19, 2024 1

Wow, working 1st time!

47 albums created for my sample data. Now I can continue importing the rest of my external libraries.

Big thanks for your quick and efficient assistance,

from immich-folder-album-creator.

Salvoxia avatar Salvoxia commented on July 19, 2024

Released with v0.2.0.

from immich-folder-album-creator.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.