Desktop GUI application which main function is to rename JPEG photos and video files by prepending date/time (of taking a photo or video) in front of the original filename. This helps to sort media files chronologically by a filename. Program allows also to modify file date/time information if needed.
The idea of this application arose while organizing photos from some trip during which the photos were taken by different people with different cameras (mobile phones or standalone cameras). We wanted to display photos chronologically, however when some photos were modified (e.g. rotated, retouched etc.) it was not a good solution to sort them by date. Thus, we decided to prepend the date/time of taking a photo to the original filename. This information is retrieved from JPEG Exif data.
Later, some additional features were added such as renaming video files (based on file Modified property) and also possibility to shift file date/time (Exif for JPEG and file Modified property for videos). The latter is especially useful when a photo has been taken with a standalone camera that had a wrong clock setup.
FotoSort is a GUI desktop application designed for Windows (tested on Windows 10) and Linux Debian-based (tested on Ubuntu) operating systems.
It offers the following features:
- rename JPEG photos and video files by prepending date/time information in front of the original filename
- for JPEG - Exif date/time data is used
- for video - file Modified property is used
- shift file date/time by provided number of years, months, days, hours, minutes and/or seconds
- set file date/time from the filename (if date/time information present in the filename)
- possibility to change accepted file extensions
- possibility to add the application to the directory contex menu (to load directory files while launching the app) -> available only on Windows OS
First step is adding photo and/or video files that we want to rename or modify date. We can do it either by Drag&Drop (works on both files and directories) or Browse for a directory containing media files (click on File->Choose folder...).
- RENAME files example:
- Before RENAME:
- After RENAME:
- MODIFY DATE example:
Before MODIFY DATE | After MODIFY DATE |
---|---|
In above example date/time of loaded files was shifted 1 year ahead. Then if someone wants to reflect this change in the filenames they need to click RENAME button. In case someone wants to come back to the date already included in the filename they can click DATE FROM FILENAME button.
- SETTINGS
File extensions | Context menu |
---|---|
Application also allows to configure accepted file extensions (default - all 'checked'). On Windows machines we can also add fotosort.exe application to the directory contex menu. In order to use that option we must run the application as administrator becasue the app needs to modify Windows registry.
The application was prepared for Windows and Linux operating systems. It was tested on Windows 10 and should work well also on previous Windows versions. It was also tested on Ubuntu and should work well on all Debian-based Linux systems.
Download and un-zip Windows Executable archive (fotosort.zip) provided in releases. Double-click on stand-alone portable executable file fotosort.exe.
-
Option 1:
- Clone or download FotoSort github respository (or source code archive provided in releases)
- Install the requirements provided in requirements.txt
- Then, run in shell: ./fotosort.py (file must have executable rights: chmod a+x fotosort.py)
-
Option 2 (preferred):
- Download and un-pack Linux Executable archive (fotosort.tar.gz) provided in releases
- Run in shell: ./fotosort or alternatively run ./install.sh to make the application seen by the system (to revert this operation ./uninstall.sh should be launched). Then, it is possible to start the app by double-click on Desktop fotosort icon (or by just typing fotosort in the shell)
First stable version released: FotoSort-v1.0.0.
For the moment there is no plan on further application development.