KIEKjes Upload System
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
337 B

set -e
for sysdir; do
busnum=$(cat "$sysdir/busnum")
devnum=$(cat "$sysdir/devnum")
rp-make ./
ptpcam --bus=$busnum --dev=$devnum -L | sed -ne '/^Handler:/,$p' | sed -ne '2,$p' | while read -r handler size date time filename; do
rp-make "$filename" "size=$size" timestamp="${date}T$time"