10 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. UNIX for Dummies Questions & Answers
A newbie question...
I need to get a list of the Files and folders which are greater then a specific date. I want write the output to a Text file.
What I know ls -lrt gives me list of all the files ordered by date. Also ls > fileName will write the results to a text file.
Please help (6 Replies)
Discussion started by: rkaif
6 Replies
5. Shell Programming and Scripting
hi !
how can i get files in a directory between certain date ranges ?
say all files created/modified between Jan24 - Jan31
thanks (10 Replies)
Discussion started by: aliyesami
10 Replies
6. Shell Programming and Scripting
Hi,
I have below two situations to handle,
1. I have list of files with file names having date&time. I have to backup to old date files. say I have below files in a directory,
1. XX123_20101004010101.dat
2. XX124_20101004010201.dat
3. XX121_20101003010101.dat
4.... (6 Replies)
Discussion started by: smr_rashmy
6 Replies
7. 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
8. Shell Programming and Scripting
Guys,
I've got a quick logic question. I'm pretty savvy when it comes to shell scripting, however, I'm at a loss when it comes to writing a simple shell script to backup only certain files out of the month. I have a directory, for example, /data/backups/websites/domain. In each "domain"... (5 Replies)
Discussion started by: drewrockshard
5 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. Shell Programming and Scripting
i am having a problem with writing a shell script to back up files for a specific month. the month and year are specified as paramters. so a backup of all the files modified during the specified month have to be made. for example if specify 200406 as my parameter, it should back up files that have... (3 Replies)
Discussion started by: problems
3 Replies