Expand description
owpresent – Rust version
§Does a file exiss (devise exists) on owserver
owpresent is a tool in the 1-wire file system OWFS
This Rust version of owpresent is part of owrust – the Rust language OWFS programs
- OWFS documentation and code
- owrust repository
§SYNTAX
owpresent [OPTIONS] PATH§PURPOSE
Tell whether a OWFS path is valid
§OPTIONS
-s IP:port(defaultlocalhost:4304)- -h for full list of options
§PATH
- 1-wire path to a file
- No Default
- More than one path can be given
owpresent works on files and directories.
§USAGE
- owserver must be running in a network-accessible location
owpresentis a command line program- output to stdout
1if present0if not present
- errors to stderr
§EXAMPLE
Test presence of a device
owpresent /10.67C6697351FF1Test a file
owpresent /10.67C6697351FF/temperature1Test a device that isn’t there
owpresent /10.FFFFFFFFFFFF0{c} 2025 Paul H Alfille – MIT Licence