Dear All:
I want to build a shell that delete files created two or more days ago ... I think it could be built using a special command with ls or grep, I'd apreciate any help from you guys
I have a lot of log files from november, december, january and this tool will help me a lot
The files... (3 Replies)
How can I get difference date between today and 15 days ago and all filename is was created before 15 days ago?
It has to be korn shell script.
Thanks. (1 Reply)
How can I get difference date between today and 15 days ago and all filename is was created before 15 days ago?
It has to be korn shell script.
Thanks. (2 Replies)
Hello
I have some directories and files created under /export/local/user
I would like to delete directories only under /export/local/user, created before 3 days
Can someone help me with command to do this task?
Thanks (4 Replies)
HI,
I have 2 questions.
1>
Is there any code to see files that created some day or some time before in a directory???
2>
how or where i will find the last exit status of a process??
thanks (6 Replies)
Hi,
I need to grep for a string "Color Yellow" in all log files dated 5 days back until today's date .
So, as today is 20 Dec i need to find in all logs from 16th dec to 20 dec.
Also, i need ls -ltre output for the files that have the "Collor Yellow" string.
Below is my OS:
... (1 Reply)
Hi ,
I need help in getting how many minutes ago the last file, matching some pattern in file name, was created in a folder.
Thanks in advance. (8 Replies)