mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
12 lines
200 B
Bash
12 lines
200 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -euxo pipefail
|
|
|
|
cd -P "$( dirname "$(readlink -f "$0")" )"
|
|
mkdir -p ../responses
|
|
|
|
for file in *.bin
|
|
do
|
|
xxd -C -i "${file}" > "../responses/$(basename "${file}" .bin).h"
|
|
done
|