1
0
mirror of https://github.com/sashacmc/photo-importer.git synced 2024-11-24 08:02:14 +02:00
Command line and web tools for photo importing/renaming/rotating
Go to file
Alexander a0a19f388a
Update README.md
Add configuration section
2020-03-07 10:07:17 +01:00
debian Add outpath web interface option 2020-01-18 02:29:06 +01:00
photo_importer Add outpath web interface option 2020-01-18 02:29:06 +01:00
web Add dismount button in error state 2020-01-18 18:35:25 +01:00
.gitignore Initial commit 2018-05-05 18:36:38 +02:00
LICENSE Initial commit 2018-05-05 18:36:38 +02:00
photo-importer Python/Debian packages and systemd service added. 2019-11-27 23:52:37 +01:00
photo-importer-server Python/Debian packages and systemd service added. 2019-11-27 23:52:37 +01:00
photo-importer.cfg Change etc config web path 2020-01-18 02:28:13 +01:00
photo-importer.service Python/Debian packages and systemd service added. 2019-11-27 23:52:37 +01:00
README.md Update README.md 2020-03-07 10:07:17 +01:00
setup.py Python/Debian packages and systemd service added. 2019-11-27 23:52:37 +01:00

photo-importer

Command line tools for photo importing/renaming/rotating

Features:

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

photo-importer-server

Standalone web server for fast media import for headless computer

Features:

  • Mounted storages detection (by path mask)
  • Storages mount/unmount (via pmount)
  • The same as photo-importer but without console

Installation

Requirements:

  • Python 3.3+
  • Debian based Linux (Other Linux versions not officially supported, but might work)

Dependencies:

  • python3-exif
  • python3-progressbar
  • python3-psutil
  • exiftran
  • pmount

Installation Options:

Installing as debian package

debuild -b
sudo dpkg -i ../photo-importer_1.0.1_all.deb

Installing via setup.py

sudo python3 ./setup.py install

Usage

Command-Line Interface

photo-importer /path/to/media/files

Will process files (reanaming/rotating) in-place. In place example

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

Move example

Web Interface

  • attach usb-drive / usert memory card
  • open http://servername:8080
  • click "Mount"
  • click "Import"
  • click "Unmount"

Web interface example

Configuration

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 config file.