FeatureFuel
1

[Feature] option to enforce shell-safe storage paths

Source: immich-app/immich#33356 · opened by @mivanit
I have searched the existing feature requests, both open and closed, to make sure this is not a duplicate request. • Yes The feature The storage template, which builds paths from {{filename}}, {{album}}, etc, can produce paths with spaces, "&", arbitrary unicode, and other characters which are not shell-safe. Renaming the files on disk breaks things. It would be very nice to be able to enable some kind of option to use only shell-safe characters in paths (i.e. alphanumeric, "-", "_"). As I see it there are 3 options: 1. add shell-safe variants of each variable, i.e. {{albumAscii}} which is {{album}} but sanitized 2. radio buttons/checkbox to select a path sanitization mode 3. a handlebars helper, so that a user can use something like {{ascii album}} Personally, option 3 feels cleanest to me, but I understand that adding custom helpers is something the maintainers would like to avoid (see #18060, although I believe a single string tra…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests