Files
mss2025-fio/run.sh

10 lines
242 B
Bash
Executable File

#!/usr/bin/env -S bash
JOBS=$(find . -type f -name '*.fio')
for job in ${JOBS[@]}; do
output="$(sed -rn 's/(.*)\.fio/\1.output/p' <<< "$job")"
echo "Running $job, writing result into $output"
sudo $(which fio) "$job" > "$output"
done