cli

package
v0.0.0-...-40caa79 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DupeDetectRun

func DupeDetectRun(cfg DupeDetectConfig, cmd string) error

DupeDetectRun runs the duplicate detect function

func ReloRun

func ReloRun(cfg ReloConfig) error

ReloRun runs the relocation function

Types

type DupeDetectConfig

type DupeDetectConfig struct {

	// Dirs is the directories to scan for duplicates
	Dirs []string
	// Datastore is the datastore
	Datastore *datastore.Datastore
	// FingerPrintCol is the name of the collection to use for fingerprints
	FingerPrintCol string
}

DupeDetectConfig is the duplicate detector CLI config

type ReloConfig

type ReloConfig struct {

	// From is the directory of the source images
	From string
	// To is the target directory
	To string
}

ReloConfig is the relocation CLI config

Jump to

Keyboard shortcuts

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