Hi all,
I'm very, very new to scripting (let alone SHELL) and was wondering if anyone could help me out as I seem to be in a spot of bother.
I collect data (.dat files) which are automatically seperated into several sub directories, so the file paths I'm reading in at the moment would be something like
'/u/Picarro/DataLog/2011/june/18/CF*nc.dat'
where I use "CF*nc.dat" to read in all files from that folder (18th June in this case). Now this is problematic as I need to read in all files from a whole year and combine them, i.e combine all the files into one .csv files for processing.
Is there any way to read in ALL *.dat files in a parent directory e.g. read in all the files for june
'/u/Picarro/DataLog/2011/june'
without having to refer to the date?
Thanks!