10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi,
Currently, we have a Perl script from a third-party vendor that is generating core dumps. It has been reported. We can't turn off the script as it does generate some diagnostic file that's required. So at the moment, we have to let it continue to do its run.
I wish I can say the vendor is... (8 Replies)
Discussion started by: newbie_01
8 Replies
2. UNIX for Dummies Questions & Answers
My unix version is IBM AIX Version 6.1
I tried google my requirement and found the below answer,
find . -newermt “2012-06-15 08:13" ! -newermt “2012-06-15 18:20"
But newer command is not working in AIX version 6.1 unix
I have given my requirement below:
Input:
atr files:
... (1 Reply)
Discussion started by: yuvaa27
1 Replies
3. Shell Programming and Scripting
Hi All,
I'm trying to find a file which is created on current day.... I searched in unix.com and i found, below command.
find /land/ -mtime -1 -type f -print | grep "FF_Member_STG.dat"
The command checks if the file with name "FF_Member_STG.dat" is created today then exit else proceed.
... (3 Replies)
Discussion started by: ace_friends22
3 Replies
4. UNIX for Dummies Questions & Answers
Hi Gurus,
I need to get year part of file created date. when using
ls -l , it only show month, day and time.
is there any option I can add to get year portition?
Thanks in advance (7 Replies)
Discussion started by: ken6503
7 Replies
5. Shell Programming and Scripting
Hi, I have a requirement to copy files from a windows network drive to a Linux server using shell script based on the last created date.
Ex:
FileName CreatedDate/Time
F1 05-01-2012 3:00 PM
F2 05-01-2012 3:15 PM
F3 05-01-2012 2:00 PM
When i run the shell script... (1 Reply)
Discussion started by: Lee_10
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I am creating a file in unix today.
Is it possible to make the file created as 2 days older (or some past date)?
P.S:
i dont want to change the system date to older one and try.:rolleyes:
Thanks,
Pandeeswaran (6 Replies)
Discussion started by: pandeesh
6 Replies
7. Shell Programming and Scripting
I am trying to rename files based on the created/born date of the file. I Have a total of 4000 files that i am trying to do this with and would like it to be log_yyyymmddhh.gz right now the files are maillog.???.gz.
Can anyone point me in the right direction of how to get this done via scipt?
... (4 Replies)
Discussion started by: Paulb
4 Replies
8. Shell Programming and Scripting
Hi Friends,
I have to create a new log file everyday and append it with content based on some keywords found in another log file.
Here is what I have tried so far...
grep Error /parentfolder/someLogFile.log >> /parentfolder
/Archive/"testlogfile_error_`date '+%d%m%y'`.txt"
grep error... (6 Replies)
Discussion started by: supreet
6 Replies
9. UNIX for Dummies Questions & Answers
how do i find the date a file was created? (3 Replies)
Discussion started by: trob
3 Replies
10. Shell Programming and Scripting
I need to write a script which has to list all the files which are created before six months from now.
kindly help on this ... (7 Replies)
Discussion started by: amirthraj_12
7 Replies