thanks for this great idea.
but sad to say that it might not really fit into what i'm planning
the "date" command will get the current time and append it to the filename prior to creating and in my case the files are already created.
There is a third party software that will create log1.txt, log2.txt, and so on and so forth and in no way I can change that and if I change that, the application will break.
I'm planning to create a link between that log files to another file where its filename equal to its modified date. In this case it much easier to tell which log I want to look.
Anyway you have given me a good idea. I'll look into the application if I can put this as an arguement. By the time the application creates the log file at the same time another log file is created but with the date as its prefix.
thanks.....
|