meowph

command module
v0.0.0-...-b08d07a Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: MIT Imports: 12 Imported by: 0

README

Meowph photo organizer

$ meowph

NAME:
   meowph.exe - A new cli application

USAGE:
   meowph.exe [global options] command [command options] [arguments...]

COMMANDS:
   query, q   list image files that this tool can target
   rename, r  rename image files to photo-taken timestamp
   move, m    move image files into target directory
   help, h    Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help (default: false)

Installation

# Prerequisite: go installation
go install github.com/deniscormier/meowph@latest

Example usage

$ meowph query
IMG_0001.jpg
IMG_0002.jpg

$ meowph query | wc -l
2

$ meowph rename
IMG_0001.jpg -> 2022-08-14-19.30.58.jpg
IMG_0002.jpg -> 2022-08-14-19.31.23.jpg

# Alternatively, use glob file patterns like IMG* or *.JPG
meowph rename IMG*
IMG_0001.jpg -> 2022-08-14-19.30.58.jpg
IMG_0002.jpg -> 2022-08-14-19.31.23.jpg

# Alternatively, reference specific files based on photo-taken-timestamp (exif data) 
meowph rename -to 2022-08-14T19:31:00
IMG_0001.jpg -> 2022-08-14-19.30.58.jpg

meowph rename -from 2022-08-14T19:31:00
IMG_0002.jpg -> 2022-08-14-19.31.23.jpg

$ meowph move -target sub_folder
2022-08-14-19.30.58.jpg -> sub_folder/2022-08-14-19.30.58.jpg
2022-08-14-19.31.23.jpg -> sub_folder/2022-08-14-19.31.23.jpg

# Glob files, -from, and -to also apply for the move command.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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