run script on files in folder output to file code example
Example: run script on files in folder output to file
for file in /dir/*
do
cmd [option] "$file" >> results.out
done
for file in /dir/*
do
cmd [option] "$file" >> results.out
done