librephotos
librephotos copied to clipboard
Automatic rename files
Describe the enhancement you'd like It would be nice to have an auto-rename & sorting into subfolders of picturefiles on the harddisk according to a patter of your choice. Much the same way as e.g. sonarr or radarr are handling files:
https://github.com/Sonarr/Sonarr/wiki/Sorting-and-Renaming
Describe why this will benefit the LibrePhotos When not using librephotos and just browsing files via a filemanager one could e.g. fast copy a folder or several files onto an usb stick for file transfer, or quickly sent a desired file via email, etc.
Additional context
So for me, this is a huge feature that I can’t wait to have implemented. However I’d like to change how this request reads.
What I believe the requester is meaning is like what PhotoPrism does.m where there is an import directory on your file system that LibrePhotos can scan (on an interval/detecting changes to the file system) and use something like ExifTool to grab the files timestamp, rename the file to a defined pattern (like YYYYMMDD_HMSS.ext) and then move it to the photos directory in YYYY/MM/DD/file name.ext structure.
This is how PhotoPrism does it (I think they use ExifTool as well) and it work’s incredibly well for managing your photo library. This way, all a user will need to do is define their photo library folder, define an import folder and then dump their photos into the import folder for LibrePhotos to rename and sort for them.
The benefit of doing it this way is that if the user doesn’t want LibrePhotos to sort and rename their photos, they can just use LibrePhotos for indexing their existing photo structure and can ignore the whole import function.
This will also benefit the mobile apps in the future as they could essentially upload photos to the import directory via (WebDAV or something similar) and then LibrePhotos can rename and move the file to the library folder and then signal LibrePhotos to run an index job.
This is my hope and ideal situation/use case ☺️
I'd like to add to this. I like to save cropped images taken on my phone, which will undoubtedly have exactly the same timestamp as the original photo. Maybe a backup ID added to the filename in case of this?
I'm doing all this manually before I upload to Libre and it is a long process. This ticket would greatly help my workflow!