Jalankan skrip pada file di output folder ke file

for file in /dir/*
do
  cmd [option] "$file" >> results.out
done
Defiant Dragonfly