FilenCloudDienste / filen-mobile

Mobile App for Filen
https://filen.io
GNU Affero General Public License v3.0
239 stars 38 forks source link

[Feature Request] Option to auto-rename photos on camera upload #357

Open szapp opened 6 months ago

szapp commented 6 months ago

As of now, photos preserve their file names during automatic camera upload. With the new helpful support of sorting them into directories, file organization has improved. Nevertheless, with increasing number of photos auto-renaming them by upload date or date taken (photos) could vastly contribute to file organization. I'd like to propose two ideas:

  1. Simple ON/OFF option for hardcoded file pattern
    In the camera upload settings there could be a new setting to enable auto-renaming based on a fixed pattern, say YYYY-MM-DD_HHmmss.ext formatted by date taken and if not available falling back to modification date or date uploaded.

  2. Auto-rename pattern
    Surely more work requiring more considerations, would be a text field in the camera upload settings to allow building one's own renaming scheme. Consisting of available blocks like YYYY of date taken/uploaded, original filename, etc.

In both cases it would then be great to auto append increments for filename collisions, i.e. 2024-02-27_183144_2 where 2 is an index for the second file with the same name.

szapp commented 5 months ago

For anyone else interested, they can achieve this in the meantime - to limited extent - with automated scheduled organization using the Filen SDK, e.g. with https://github.com/szapp/filen-photo-organizer

schmeat commented 2 months ago

To add to this: it would be nice if photos were automatically organized into monthly folders as well, 2024-06 for example.