04-24-2008
26,
0
Join Date: Oct 2007
Last Activity: 25 February 2009, 12:17 PM EST
Posts: 26
Thanks Given: 0
Thanked 0 Times in 0 Posts
help on unix script
Hi,
Anyone knows how to go about this one?
For example, i am normally receiving files (FILENAME.YYMMDD) daily in /file/location/path
But there are some days that there will be no file received.
By monthend, I would like to generate a csv file for reference, listing which files in the above mentioned path were received for that month
=>
File content will look something like this:
Apr2008 - <NO of files>: FILENAME.080401,FILENAME.080402,FILENAME.080403,FILENAME.080404,FILENAME.080407,FILENAME.080408,FILE NAME.080409,FILENAME.080410,FILENAME.080411,FILENAME.080414,FILENAME.080415,FILENAME.080416,FILENAME .080418,FILENAME.080421,FILENAME.080422,FILENAME.080424,FILENAME.080425,FILENAME.080428,FILENAME.080 429,FILENAME.080430,END
(Above scenario => no files received on Apr5,6,12,13,17,19,20,23,26,27)
Thanks so much in advance.