Command line tools for photo importing/renaming/rotating
- Media files scan
- Time when picture was taken detection (by EXIF, by file name, by file attributes)
- Media files moving/copying to configurable hierarchy
- Lossless rotations (via exiftran)
Standalone web server for fast media import for headless computer
- Mounted storages detection (by path mask)
- Storages mount/unmount (via pmount)
- The same as photo-importer but without console
- Python 3.3+
- Debian based Linux (Other Linux versions not officially supported, but might work)
- PyExifTool (pip3 install PyExifTool)
- python3-progressbar
- python3-psutil
- exiftran
- pmount
debuild -b
sudo dpkg -i ../photo-importer_1.0.1_all.deb
sudo python3 ./setup.py install
photo-importer /path/to/media/files
Will process files (reanaming/rotating) in-place.
photo-importer /path/to/media/files /output/path
Will import (by default move, but it can be changed in config) files from /path/to/media/files to /output/path with date hierarchy creation and reanaming/rotating
- attach usb-drive / usert memory card
- open http://servername:8080
- click "Mount"
- click "Import"
- click "Unmount"
The server config file located in /etc/photo-importer.cfg
Command line tool config file located in ~/.photo-importer.cfg
Also config file can be specified by mean of -c command line option.
For options details see comments in the config file.
Thanks to everyone who tested and gave advice.
Bug reports, suggestions and pull request are welcome!