Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

25
tldr/linux/cam Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# cam
> Frontend tool for `libcamera`.
> More information: <https://libcamera.org/docs.html>.
- List available cameras:
`cam --list`
- List controls of a camera:
`cam --camera {{camera_index}} --list-controls`
- Write frames to a folder:
`cam --camera {{camera_index}} --capture={{frames_to_capture}} --file`
- Display camera feed in a window:
`cam --camera {{camera_index}} --capture --sdl`