mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-06 20:45:29 +00:00
38 lines
558 B
Plaintext
38 lines
558 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# timg
|
|
|
|
> A terminal image and video viewer.
|
|
> More information: <https://github.com/hzeller/timg#synopsis>.
|
|
|
|
- Display a static image:
|
|
|
|
`timg {{image.jpg}}`
|
|
|
|
- Display all JPEG images in the current directory:
|
|
|
|
`timg *.jpg`
|
|
|
|
- Display all the bitmaps in icons file:
|
|
|
|
`timg {{example.ico}}`
|
|
|
|
- Play a video:
|
|
|
|
`timg {{video.mp4}}`
|
|
|
|
- Play contents of webcam:
|
|
|
|
`timg {{/dev/videoX}}`
|
|
|
|
- Play an animated GIF:
|
|
|
|
`timg {{gif.gif}}`
|
|
|
|
- Display version:
|
|
|
|
`timg --version`
|