10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a requirement to create a shell script(tcsh) that finds all the files in a directory having the file name containing date format "YYYYMMDDHHMM" and extract the date time part ""YYYYMMDDHHMM" for further processing.
Could you please have any idea on this.
trades_201604040000.out... (6 Replies)
Discussion started by: gopal.biswal
6 Replies
2. UNIX for Dummies Questions & Answers
Hello All,
I was wondering if anyone knew of a way to find out what commands were run on a specific date.
I'm looking to see if I can find certain commands that were run on 3/4, today is 3/10...?
Any thoughts or ideas would be much appreciated!
Thanks in Advance,
Matt
----------... (3 Replies)
Discussion started by: mrm5102
3 Replies
3. Shell Programming and Scripting
HI,
I want to search for a logs which are trace between specific date and time from logs file.
My logs are generated like this :-
Tue Jun 18 05:00:02 EEST 2013 | file_check.sh| Message:script has files to process.
Thu Jun 20 05:00:02 EEST 2013 | file_check.sh| Message:script has files to... (5 Replies)
Discussion started by: ketanraut
5 Replies
4. Shell Programming and Scripting
Hi,
I am looking to find files of a specific date.
I am on Sun Solaris so newermt doesnot work..
I thought of using mtime but not getting how to use it.
Please help me with this..
Regards
Abhinav (3 Replies)
Discussion started by: abhi1988sri
3 Replies
5. Shell Programming and Scripting
Dear all,
kindly i have some files with different dates i need to grep word from these files but i need to search in files with date 2012-12-02 not all files in this directory
do u have any command (4 Replies)
Discussion started by: maxim42
4 Replies
6. Shell Programming and Scripting
hi all
I would like to help me find the problem with this script to find and print to the screen a specific date of a log file that I have on my server, the date it is received as the first argument in the script $ 1
Here I show you a few lines that made the idea of my log file:
****... (4 Replies)
Discussion started by: gilmore666
4 Replies
7. Shell Programming and Scripting
Hi
I need to find the list of files in a directory and to do some specific operations based on the type of files.
suppose in a directory am having .dat , .log, .err, .rej file types. i need to filter out .dat and .log only which are older than six months.
i used the below query but the... (2 Replies)
Discussion started by: msathees
2 Replies
8. Shell Programming and Scripting
Hi everyone,
Please help:)
I have a list of 1000 different files which comes daily to the directory.Some of
the files are not coming to the directory now.
I need to write a shell script to find the latest date and time of the files they
came to the directory. The files should be unique.... (1 Reply)
Discussion started by: karthicss
1 Replies
9. Shell Programming and Scripting
Hi All,
I am in trouble now...
i have two directories..
one can consider as folder-A where processed files are there.
and another one folder-B where i have the corresponding output files..
here ..let say some records may have multiple entrys like below..
/folder-A/
grep... (4 Replies)
Discussion started by: Shahul
4 Replies
10. Shell Programming and Scripting
Hi I need to write a script to list files in a directory created within specific date and time for eg list files created between Apr 25 2007 11:00 to Apr 26 2007 18:00. and then i have to count them
Any suggestions pls ? (3 Replies)
Discussion started by: jazjit
3 Replies