Mefix
Mefix
IImmich
Created by Mefix on 1/30/2025 in #help-desk-support
Storage template syntax's (if "name" in filename)
Good day. I'm looking for syntax examples for a storage template. I want to create a path that will be generated based on the file name. How would I write something like this correctly? Is it possible to do this? {{#if album }} {{album}} {{else}} Other {{/if}} /{{#if "screenshot" in filename }} Screenshot/{{y}}/{{y}}-{{MM}}-{{dd}}/{{filename}} {{else}} /{{y}}/{{y}}-{{MM}}-{{dd}}/{{filename}} {{/if}}
15 replies