10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
I am looking for some help in getting the list of files matching some pattern in a folder and those were created in last X hours.
Please help.
Thanks in advance. (1 Reply)
Discussion started by: Anupam_Halder
1 Replies
2. Shell Programming and Scripting
Hi There
I am trying to create a shell script (.ksh) that will be run on AIX 5300-10 to scp files from one server to another.
The only files I am interested in are the ones that were created in the last 24 hours of whenever the script was run. There are numerous other files in the source... (6 Replies)
Discussion started by: jimbojames
6 Replies
3. Shell Programming and Scripting
Hi,
I need to check some files in one directory whether any files has been created before 4 hours(ie, less than 4 hours from the current time).
Can anybody help me out..?
Thanks in advance..! (21 Replies)
Discussion started by: Kattoor
21 Replies
4. Shell Programming and Scripting
hi,
I want to find a file which is modified within last 2 hours
i am using sun-os
i tried find . -name <filename> -mmin 120
i found that mmin option is not supported in sun-os is there any other alternative option
suggestions welcome
thanks in advance (5 Replies)
Discussion started by: trichyselva
5 Replies
5. UNIX for Dummies Questions & Answers
how do i find the date a file was created? (3 Replies)
Discussion started by: trob
3 Replies
6. Shell Programming and Scripting
Hi Frens,
I want to list some files from a directory, which contains "DONE" in their name, i am receiving files every minute. In this i want to list all the files which are newer than 6 hours but older than 3 hours, of current time
i dont want my list to contain the latest files which are ... (4 Replies)
Discussion started by: Prat007
4 Replies
7. Shell Programming and Scripting
I want to list the files created before past 24 hours using ls command.
please help me on this (7 Replies)
Discussion started by: jayaramanit
7 Replies
8. Shell Programming and Scripting
I need a script which list the files which is starting with the word heap*** and that is created before past 24 hours.I need the script using find command. please help me on this. (1 Reply)
Discussion started by: jayaramanit
1 Replies
9. UNIX for Dummies Questions & Answers
I need to write a program that will only remove those files that are older than 2 hours.
Is there some variation of
find . -mtime ? -name '*'
that I can use?
Thanks as always for your help.
Regards,
Dave :) (2 Replies)
Discussion started by: mh53j_fe
2 Replies
10. Shell Programming and Scripting
I want to write a sh script that will find files older than 2 hours and tar them. I've had a look at the find man page but can't see how to do it by hours.
Help please.
Thanx (1 Reply)
Discussion started by: ianf
1 Replies