10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I've been trying to do some recursive searching but not been very successful. Can someone please help.
I have directory structure
so what I want to do is run a script and as its 2019/11/18/ today it would go and only search... (3 Replies)
Discussion started by: israr75
2. Shell Programming and Scripting
I would like to ask if there is a way to search for a file inside a .tar.gz file without extracting it? If there is, is there a way to search for that file by date?
Thanks! (4 Replies)
Discussion started by: erin00
3. Shell Programming and Scripting
Iam a newbies to Shell scripting. Iam trying to replace the date inside the file to new date. is there anyway that we can just use the pattern to search as "..." I have many files want to replace with the same date, and each file contains different date.
Thanks for your help.
... (2 Replies)
Discussion started by: Daro
4. Shell Programming and Scripting
I am writing the code in perl.
I have an array in perl and each variable in the array contains the data in the below format
Now I need to check the below variable w.r.t system month I need to store the date and time(Tue Aug 7 03:54:12 2012) from the below data into file if contains only 'Aug'... (5 Replies)
Discussion started by: giridhar276
5. Shell Programming and Scripting
without using conventional file searching commands like find etc, is it possible to locate a file if i just know that the file that i'm searching for contains a particular text like "Hello world" or something? (5 Replies)
Discussion started by: arindamlive
6. UNIX for Dummies Questions & Answers
i have tons of files in folder named like this (yyyymmdd):
I need to find files with date range in there names lets say from 2010.07.30 - 2010.08.02
... (10 Replies)
Discussion started by: Whit3H0rse
7. UNIX for Dummies Questions & Answers
I would like to search the pattern based on the date like "2010/08/15". I tried using / in the file giving /<<pattern>>. when i tried this it turns to /2010/+8, but not going to the pattern what ever i want.
This is how the data in the file.
INFO | jvm 1 | 2010/05/26 13:30:33... (5 Replies)
Discussion started by: venkatesht
8. Shell Programming and Scripting
I have an issue regarding searching for old dates.
At the moment I search a field within a file for the last 3 days from the system date:
using today as 25/02/2010
DD=$(expr `date +%d` - 1)
DD1=$(expr `date +%d` - 2)
DD2=$(expr `date +%d` - 3)
YR=`date +"%Y"`... (2 Replies)
Discussion started by: Pablo_beezo
9. Shell Programming and Scripting
I have a text file that i want to search through and pick out any dates that are formatted like MM/DD/YYYY and replace them with a date i want like 10/29/2009. any idea show i would do this?:)
Snapshot of my text file:
test4>s44syd5172>070>528>ENU>nongnuan>wanrawee>sr2330532>... (7 Replies)
Discussion started by: infiant
10. Shell Programming and Scripting
Assume today's date is 10-May-2002. I want to get a list of files which were last modified since 01-May-2002. If I run the script after 5 days, it should still list me the files modified from 01-May-2002 till today. I also plan to pass the date 01-May-2002 as an argument to the shell script... (3 Replies)
Discussion started by: kanakaraj_s