Skip to content

A CLI Screenshot Helper for OSX Terminal

License

Notifications You must be signed in to change notification settings

ConorSheehan1/shot

Repository files navigation

Shot

Build Status License: MIT Code style: black Tested python versions

Homebrew tap Version Github Version

Screenshot
Helper for
OSX
Terminal

Copy or move screenshots and recordings around from a terminal.

shot

Install

# option 1 homebrew
brew install conorsheehan1/conorsheehan1/shot

# option 2 github release
pip install https://github.com/ConorSheehan1/shot/releases/latest/download/shot.tar.gz

# option 3 from source
git clone [email protected]:ConorSheehan1/shot.git
cd shot
poetry install
poetry build
pip install .

Example

shot --help
shot --version

# default is to copy the latest screenshot to the current directory
shot

# copy the last 3 screenshots to ./foo
shot --dst=./foo --num=3

# short args are added automatically when unambiguous e.g. -n and --num
shot -dst ./foo -n 3

# move the second last screenshot to ./bar
shot --mv --dst=./bar --start=2

Smaller bash implementation

https://gist.github.com/ConorSheehan1/2a72b13fa530388dcaec93307f4f7b09

Development

See dev.md