This python utility allows management of pictures coming from many devices, with variable naming schemes (DSC0000.JPG
, IMG0008.JPG
, IMG_20150322_135126.JPG
, ...), and to regroup them into a coherent whole; typical use case is to clean up files after a holiday where many people took pictures.
Developed under GNU/Linux, this script should work under any platform supporting Python; it has been tested under Windows and Mac OS X.
git clone https://gitlab.com/MiguelTremblay/exif_rename_files.git
In a general way, this application should be called in command line like this:
python exif_rename_files.py [OPTIONS] INPUT
where INPUT is the JPEG file(s) (or directory(ies) containing them) that will be searched and OPTIONS, the options as described below.
Option | Description |
---|---|
-h, --help | Show help message and exit |
-o DIRECTORY, --output-directory=DIRECTORY | Directory where the image files will be written |
-t, --dry-run | Execute the program, but do not move or copy the files |
-C, --copy-directory-tree | Copy the directory tree in the output directory, to mimic the input sub-directories |
-m, --move | Move the files, instead of copying |
-n, --no-clobber | Do not overwrite an existing file |
-r, --recursive | Look for files in the directory and its subfolders |
-v, --verbose | Explain what is being done |
-N, --include-file-with-no-exif | Copy or move files with no EXIF, using their original file name as destination |
-V, --version | Output version information and exit |
For any bug report, please contact exif.miguel@ptaff.ca
Copyright © 2016 Miguel Tremblay.
exif_rename_files is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.