mgphoto

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2022 License: MIT Imports: 1 Imported by: 0

README

A dead simple command line photo import tool



Download the latest release here

  • extremely fast
  • duplicate file handling
    • skip duplicates
    • copy duplicates to separate folder
  • preserve original files and file names
  • uses optional Exiftool for higher precision exif readings (just install and make sure exiftool is in your path to benefit from this)
  • Photos are not renamed unless a file already exists with that name e.g. IMG_1.jpg will be renamed to IMG_1_1.jpg.
  • recursively scan directory for new photos

Courtesy of gophers for the logo.

Options

Argument Default Description
out ./photos Output path - defaults to ./photos
log ./transfer.log Log path - defaults to ./transfer.log
copy-dupes false Copy duplicates to 'duplicates' folder
ignore-tiny false Ignore really small images (<5kb)
dryrun false Don't actually do anything
analyze false Track how long operations are taking
sidecar false Include sidecar files e.g. .xml, .on1, .xmp

Example Usage

mgphoto -out=/home/photos -copy-dupes -ignore-tiny -analyze /path/to/input/files

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL