A command-line utility for importing photos written in Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test/source
vendor/github.com/rwcarlsen/goexif
.gitignore
Gopkg.lock
Gopkg.toml
LICENSE
go-import-photos.go
import_test.go
readme.md

readme.md

go-import-photos

A command-line utility for importing photos.

Usage

go-import-photos <source-path> <destination-path>

Where source-path is the path to a directory containing the photos to import and destination-path is the path for storing the photos. Photos are copied, not moved.

Photos will be stored by year and date using EXIF data from the files according to the following pattern within the destination directory:

<destination>/<year>/<year>-<month>-<day/

Example:

~/photos/2018/2018-05-17/photo.jpg