diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2018-08-30 15:55:03 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2018-08-30 15:55:03 +0200 |
commit | 8dd39dc3a74012174a4869c969cc90ba9cf6ca4e (patch) | |
tree | 69f537a8235ee16282134fc04c7acda28b208774 /scripts/extract.sh | |
parent | 010b46493f7393f2d67276b292e355e2b992f43f (diff) | |
download | ipecamera-8dd39dc3a74012174a4869c969cc90ba9cf6ca4e.tar.gz ipecamera-8dd39dc3a74012174a4869c969cc90ba9cf6ca4e.tar.bz2 ipecamera-8dd39dc3a74012174a4869c969cc90ba9cf6ca4e.tar.xz ipecamera-8dd39dc3a74012174a4869c969cc90ba9cf6ca4e.zip |
Add a bit info about Desy camera and a pair of debugging scripts
Diffstat (limited to 'scripts/extract.sh')
-rwxr-xr-x | scripts/extract.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/extract.sh b/scripts/extract.sh new file mode 100755 index 0000000..3e5be57 --- /dev/null +++ b/scripts/extract.sh @@ -0,0 +1,12 @@ +#! /bin/bash + +[ -n "$1" ] || exit +frame=$1 + +list=$(./list.sh $1 | sort -n -k 3) +echo -n > "frame$frame.raw" +IFS=$'\n' +for name in $list; do +# echo "$name" + cat "$name" >> "frame$frame.raw" +done |