Quote:
Originally Posted by matrixmadhan
what is the filenaming convention ?
or they created based on the hour they are created ?
if they are not modified, with the access time (which would be the same as creation time) also we can generate a requested list
reply
They are created based on the hour.
eg,
Jun 22 23:12 0622.IST230500.00.pp_20060622_231252
Jun 22 23:22 0622.IST231000.00.pp_20060622_232223
Jun 22 23:22 0622.IST231500.00.pp_20060622_232252
Jun 22 23:42 0622.IST233500.00.pp_20060622_234252
Jun 22 23:52 0622.IST234000.00.pp_20060622_235222
Jun 23 00:02 0622.IST234500.00.pp_20060623_000252
Jun 23 00:03 0622.IST235000.00.pp_20060623_000322
Jun 23 00:12 0623.IST000000.00.pp_20060623_001252
Jun 23 00:22 0623.IST001000.00.pp_20060623_002222
so i have 5 files on 22nd and i have 4 files on 23rd.
Result should be,
Jun 22 23 hour - 5 files
Jun 23 00 hour - 4 files.
so i want a script get above result.
Thanks.