1
0
mirror of https://github.com/sashacmc/photo-importer.git synced 2026-04-24 19:13:49 +02:00

Update README.md

Add Command-Line Interface usage
This commit is contained in:
Alexander
2020-03-07 09:29:24 +01:00
committed by GitHub
parent c5eae54d0b
commit 9f35efdd21
+16
View File
@@ -29,3 +29,19 @@ sudo dpkg -i ../photo-importer_1.0.1_all.deb
```bash
sudo python3 ./setup.py install
```
## Usage
### Command-Line Interface
```bash
photo-importer /path/to/media/files
```
Will process files (reanaming/rotating) in-place.
![In place example](https://user-images.githubusercontent.com/28735879/76139947-bd249780-6055-11ea-85c0-0985b6bde93f.png)
```bash
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](https://user-images.githubusercontent.com/28735879/76139964-eba27280-6055-11ea-988f-aa71cda7ba36.png)