10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi there!
I was wondering if someone could help me with the following:
I'm trying to find all files within a directory which have been modified since midnight of the current date.
Any help would be appreciated.
Thank you kindly. (6 Replies)
Discussion started by: Jimmy_the_tulip
6 Replies
2. 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
3. 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
4. UNIX Desktop Questions & Answers
Guys, I am wondering how to remove files for a specific date in a directory?
for instance when I do ls -l , i see many files. And i want to delete files for date May 15:
58252015 May 10 03:45 my_05102012.log
58252015 May 15 06:45 my_05152012.log
Thanks (8 Replies)
Discussion started by: DallasT
8 Replies
5. Shell Programming and Scripting
Hi there,
I like to ask how i shall monitor specific string or keyword in rotating log files. e.g. I have at 10 rotating logfiles.
I use the command below to grep the string, but eventually become non functional because the logfile rotates and new logfile is active.
tail -f <logfile1> |grep... (1 Reply)
Discussion started by: shtobias
1 Replies
6. UNIX for Dummies Questions & Answers
I want a mechanism to monitor a folder full of files that are sensitive. I want to log all accesses,modifications and changes to any file within the folder in a log file which should give me access/modify/change times,the user id of the process which tried and the pid.
Even some idea of what to... (1 Reply)
Discussion started by: Vivek788
1 Replies
7. Filesystems, Disks and Memory
In Linux Advance server
I want to write one script for backing up files for a specific date like 24/07/2008. (3 Replies)
Discussion started by: akm9999
3 Replies
8. Shell Programming and Scripting
I want to write script for backing up archive logs files for specific date.
please give me idea for that. (2 Replies)
Discussion started by: akm9999
2 Replies
9. Solaris
Hi all,
thanks in advance for reading and anyposts...
I was wondering if its possible to find all files in a directory with a specific date.
I know I can do:
but that will only give a list of files greater than todays date... Any ideas?
Thanks,
Marky Mark... (4 Replies)
Discussion started by: B14speedfreak
4 Replies
10. Programming
I have a number of files of the format filename.xfr_mmddyy_%H%M%S which i get in a specified directory daily. Now i want to search in the specified directory & delete the files which are more than 2 days old .So I use a command
find $DIR/backup/* -ctime +2 -exec rm -f {} \;
But after executing... (1 Reply)
Discussion started by: dharmesht
1 Replies