@@ -0,0 +1,9 @@
#!/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
The note is not visible to the blocked user.