10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I want to list down the files between two timestamp. But I can not use newer or newermt command as it doesn't support these tokens.
Is there any other way to achieve this? Else I have to write too much of coding .
Input
Dec 01 02:02
Dec 02 05:07 (8 Replies)
Discussion started by: Abhijit Sen
8 Replies
2. Shell Programming and Scripting
Hi,
I have a list of files all starting with aa but some of them also have a timestamp suffixed which I want to remove from my search. For e.g.
aa1
aa2
aa.15-05-25_20:41:05.20150611
aa.15-05-26_20:29:40.20150611
aa.15-05-27_20:28:32.20150611
If I do ls -1 aa*, it will list everything... (7 Replies)
Discussion started by: swasid
7 Replies
3. Shell Programming and Scripting
Hi Friends,
I have the following logfile. Currently time in india is 07/31/2014 12:33:34 and i have the following content in logfile. I want to display only those entries which contain string 'Exception' within last 3 hours. In this case, it would be the last line only
I can get the... (12 Replies)
Discussion started by: srkmish
12 Replies
4. Shell Programming and Scripting
I need to be able to identify files with file timestamps greater than a given timestamp.
I am using the following solution, although it appears to compare files at the "seconds" granularity and I need it at the milliseconds. When I tested my solution, it missed files that had timestamps... (3 Replies)
Discussion started by: nkm0brm
3 Replies
5. Shell Programming and Scripting
Hi
I have a requirement like below
I need to sort the files based on the timestamp in the file name and run them in sorted order and then archive all the files which are one day old to temp directory
My files looks like this
PGABOLTXML1D_201108121235.xml... (1 Reply)
Discussion started by: saidutta123
1 Replies
6. Shell Programming and Scripting
2009-10-29 03:39:11,720 INFO - Optimize cache for minimal puts: disabled
2009-10-29 03:39:11,720 INFO - Structured second-level cache entries: disabled
2009-10-29 03:39:22,687 WARN - Problem starting service jboss.web.deployment:war=dt-sp-fabric-delegate-ws-war-3.5.0.war,id=1483428821... (3 Replies)
Discussion started by: maheshshinde
3 Replies
7. HP-UX
Hi,
I had a directory and many subdirectories and files with in it.
Now i want to get the timestamp of files from the files and folders recursively. :(
Please help me to generate a script fort he above mentioned requirement!
Appreciate for ur qick response
Thanks in advance!
... (2 Replies)
Discussion started by: kishan
2 Replies
8. Shell Programming and Scripting
i want to compare the timestamp of the 2 file..
please let me know how we can achive this.. (2 Replies)
Discussion started by: mail2sant
2 Replies
9. AIX
How can i compare the time stamps of two files to check if they are the same. Is there any option like the -nt or -ot with the if clause? I have a file and i "cp -p" the file to a different location. If a copy of the file already exists, i dont want to copy it. I am also running multiple instances... (1 Reply)
Discussion started by: pt14
1 Replies
10. Shell Programming and Scripting
Hi!
I need to copy a whole bunch of file from a build directory to my working directory. Many of these files already exist in my working directory. I need to copy only those files that have been modified since I last copied..
How do I compare the timestamp of two files, so that I would copy... (2 Replies)
Discussion started by: jyotipg
2 Replies