Skip to content
/ FotoSort Public

Desktop GUI application to rename JPEG photos and video files by prepending date&time information in front of the original filename. It allows also to modify date of taking a photo or video if needed.

License

Notifications You must be signed in to change notification settings

uemk/FotoSort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FotoSort

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.

fotosort

Table of Contents

  1. Motivation
  2. Description
  3. How it works?
  4. Running the application
  5. State of work

Motivation

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.

Description

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

How it works?

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...).

  1. RENAME files example:
  • Before RENAME:
  • After RENAME:
  1. 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.

  1. 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.

Running the application

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.

Windows

Download and un-zip Windows Executable archive (fotosort.zip) provided in releases. Double-click on stand-alone portable executable file fotosort.exe.

Linux

  1. 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)
  2. 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)

State of work

First stable version released: FotoSort-v1.0.0.

For the moment there is no plan on further application development.

About

Desktop GUI application to rename JPEG photos and video files by prepending date&time information in front of the original filename. It allows also to modify date of taking a photo or video if needed.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published