I have thousands of *csv files in a certain subdirectory.
There's a simple in line executable which I use to work with these files, which I pipe into a new file:
executable file1.csv standard.csv > output_file1.csv
I would like to create a for loop to do this not just for
file1.csv, but for all files in that subdirectory.
I would try something like this:
for file in *.csv do # run executable on "$file" and output executable $file standard.csv > output done
I think this will work, but how do I name each output