Files
cheatsheet-tldr/tldr/fswebcam
2025-04-23 00:19:06 +00:00

26 lines
603 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# fswebcam
> Small and simple webcam for *nix.
> More information: <https://www.sanslogic.co.uk/fswebcam>.
- Take a picture:
`fswebcam {{filename}}`
- Take a picture with custom resolution:
`fswebcam {{[-r|--resolution]}} {{width}}x{{height}} {{filename}}`
- Take a picture from selected device(Default is `/dev/video0`):
`fswebcam {{[-d|--device]}} {{device}} {{filename}}`
- Take a picture with timestamp(timestamp string is formatted by strftime):
`fswebcam --timestamp {{timestamp}} {{filename}}`