Files

21 lines
328 B
Bash
Raw Permalink Normal View History

2023-07-09 03:23:57 -07:00
#!/bin/bash
files=(
"box_1.csv"
"box_2.csv"
"box_3.csv"
"box_4.csv"
"box_5.csv"
"box_6.csv"
)
OUTPUT_DIR=dist
# Ensure the output directory exists
mkdir -p $OUTPUT_DIR
# Pipe and redirect python output to files
for file in ${files[@]}; do
2023-07-09 03:26:20 -07:00
./process "$file" > "$OUTPUT_DIR/${file%.csv}.note"
2023-07-09 03:23:57 -07:00
done