summaryrefslogtreecommitdiffstats
path: root/scripts/extract.sh
blob: 3e5be57c7a94dc982066d1840f6cfdacac314c80 (plain)
1
2
3
4
5
6
7
8
9
10
11
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