1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02:00
immich/notes.md
Alex c754c860fd
feat(server) user-defined storage structure (#1098)
[Breaking] newly uploaded file will conform to the default structure of `{uploadLocation}/{userId}/year/year-month-day/filename.ext`
2022-12-16 14:26:12 -06:00

329 B

User defined storage structure

Folder structure

  • Year is the top level
    • Different parsing sequence will be the second level

Filename

  • Filename will always be appended by a unique ID. Maybe use https://github.com/ai/nanoid
    • Example: notes.md -> notes-1234567890.md
  • Filename will be unique in the same folder