I have to loop through all files in folder with particular date (say- 20150902) in the filenames.
I want to do this in shell script and take the date from the argument of the script.
I was using
for f in /data/test/loader/test01/XXX/$1*; do commands done
But it doesnt loop over all the filenames.
my filenames in folder look like this:
QQQ.XX8_XX2.FW00.20150902.0005399.30345.dat
and the date which is the input to the script is