https://github.com/conorsheehan1/shot
A CLI Screenshot Helper for OSX Terminal
https://github.com/conorsheehan1/shot
cli fire mac macos osx python python-fire screenrecording screenshot
Last synced: 10 months ago
JSON representation
A CLI Screenshot Helper for OSX Terminal
- Host: GitHub
- URL: https://github.com/conorsheehan1/shot
- Owner: ConorSheehan1
- License: mit
- Created: 2020-12-03T22:28:40.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-08T08:41:24.000Z (about 2 years ago)
- Last Synced: 2024-05-08T09:34:09.947Z (about 2 years ago)
- Topics: cli, fire, mac, macos, osx, python, python-fire, screenrecording, screenshot
- Language: Python
- Homepage:
- Size: 104 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shot
[](https://github.com/ConorSheehan1/shot/actions/)
[](https://opensource.org/licenses/MIT)
[](https://github.com/psf/black)
[](https://github.com/ConorSheehan1/shot/blob/master/.github/workflows/ci.yml#L25)
[](https://github.com/ConorSheehan1/homebrew-ConorSheehan1/blob/main/versions.yaml)
[](https://github.com/ConorSheehan1/shot/releases)
**S**creenshot
**H**elper for
**O**SX
**T**erminal
Copy or move screenshots and recordings around from a terminal.

# Install
```bash
# 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 git@github.com:ConorSheehan1/shot.git
cd shot
poetry install
poetry build
pip install .
```
# Example
```bash
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](./dev.md)