ExifEdit is a Python-based app that allows you to browse your computer directory, select images, and modify the filename and "Date taken" EXIF field. This app is useful for giving images from different cameras a similar filename format that contains information such as the date taken, camera maker and model, and portions of the original filename.
The app uses the following dependencies:
- PySide6
- Pillow
- exif
- Send2Trash
- PyInstaller (optional)
- Clone the repository
git clone https://github.com/artjvl/ExifEdit.git
- Install the required libraries
pip3 install -r requirements.txt
- Optionally, install PyInstaller
pip3 install pyinstaller
- Run the app
python3 main.py
Note: If you want to create a one-file executable, use PyInstaller with
pyinstaller --onefile --noconsole main.py
This will create a single executable file dist/main.exe
, which can be run on any computer without the need to install Python or any libraries.
- Launch the app by running python
main.py
(or run the executablemain.exe
). - Browse your computer's file directory using the file explorer on the left panel.
- Select one or more images from the selected directory in the center panel.
- Define a filename format in terms of placeholders for various EXIF elements and/or portions of the original filename.
Example: original filename "DSC0137" with format[YYYY][MM][DD]-[hh][mm][ss]_[MAK]-[MOD]_[FRMI:DSC]
results in filename "20230422-231542_SONY-ILCE-7C_DSC0137.JPG". - Change the "Date taken" EXIF field relative to the original date/time or to a specific date/time.
- Click "Modify files" to modify the selected files with the new "Date taken" and filename.
If you'd like to contribute to this project, please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License.