https://github.com/rsookram/imgls
Command-line tool which prints an ls style listing of image files
https://github.com/rsookram/imgls
cli golang image ls
Last synced: 6 months ago
JSON representation
Command-line tool which prints an ls style listing of image files
- Host: GitHub
- URL: https://github.com/rsookram/imgls
- Owner: rsookram
- License: mit
- Created: 2018-02-10T17:52:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-15T00:02:01.000Z (over 8 years ago)
- Last Synced: 2024-06-20T02:01:08.332Z (about 2 years ago)
- Topics: cli, golang, image, ls
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# imgls
`imgls` is a command-line tool which prints an ls style listing of image files.
Inspired by the list output in [feh](https://feh.finalrewind.org/).
## Usage
Pass any number of directories containing images or image files to `imgls` and it
will output a listing of the images in the directories / the images themselves.
When run with no arguments, `imgls` will output a listing of the images in the
current directory.
Example output:
```
$ imgls
NUM FORMAT WIDTH HEIGHT SIZE FILENAME
1 jpeg 2448 3264 2M IMG_20160107_081137.jpg
2 jpeg 2448 3264 2M IMG_20160107_081749.jpg
3 jpeg 2448 3264 4M IMG_20160209_195745.jpg
4 jpeg 2448 3264 4M IMG_20160209_195814.jpg
5 jpeg 2448 3264 5M IMG_20160209_195833.jpg
6 jpeg 2448 3264 2M IMG_20160707_201515.jpg
7 jpeg 2448 3264 2M IMG_20160707_203408.jpg
8 jpeg 2448 3264 1M IMG_20160806_183223.jpg
9 jpeg 2448 3264 1M IMG_20160806_183253.jpg
```
## Install
```shell
$ go get -u github.com/rsookram/imgls/cmd/imgls
```
## License
imgls is licensed under the [MIT license](LICENSE).