mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
gphoto2: add page (#21992)
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# gphoto2
|
||||
|
||||
> Control digital cameras from the command line.
|
||||
> More information: <http://www.gphoto.org/doc/manual/ref-gphoto2-cli.html>.
|
||||
|
||||
- List connected cameras:
|
||||
|
||||
`gphoto2 --auto-detect`
|
||||
|
||||
- List files on the camera:
|
||||
|
||||
`gphoto2 {{[-L|--list-files]}}`
|
||||
|
||||
- Download all images:
|
||||
|
||||
`gphoto2 {{[-P|--get-all-files]}}`
|
||||
|
||||
- Download only new images (skip existing):
|
||||
|
||||
`gphoto2 {{[-P|--get-all-files]}} --new`
|
||||
|
||||
- Download files 1 through 5:
|
||||
|
||||
`gphoto2 {{[-p|--get-file]}} 1-5`
|
||||
|
||||
- Delete all files on the camera:
|
||||
|
||||
`gphoto2 {{[-D|--delete-all-files]}}`
|
||||
|
||||
- Capture an image and download it:
|
||||
|
||||
`gphoto2 --capture-image-and-download`
|
||||
|
||||
- Show camera information:
|
||||
|
||||
`gphoto2 --summary`
|
||||
Reference in New Issue
Block a user