Re: OT: Unix Find Question
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 57422
interpreted = N
texte = Clint Davis wrote:> I have a VERY basic understanding of the unix find command, but I need to do> something that seems a little complex. I want to find all text files in the> current directory that were modified since 4/14/04 AND contain a specific> email address. I figured this might require both find and grep, but I wasn't> sure.find . \-mtime -7 \-exec fgrep -l "address@domain.tld" \{} \;which translates as all files in the currect directory or below, which were modified less than 7*24 hours ago, and which contain the requested address.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Clint Davis wrote:> I have a VERY basic understanding of the unix find command, but I need to do> something that seems a little complex. I want to find all text files in the> current directory that were modified since 4/14/04 AND contain a specific> email address. I figured this might require both find and grep, but I wasn't> sure.find . \-mtime -7 \-exec fgrep -l "address@domain.tld" \{} \;which translates as all files in the currect directory or below, which were modified less than 7*24 hours ago, and which contain the requested address.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
John Peacock
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
F3 crashing server (1997)
Not reading code (1997)
WC2b15 File Corruption (1997)
Calculating Shipping (1997)
Members register & gain access system (1998)
All questions are welcome on this list (1997)
all records returned. (1997)
Roundup function? (1997)
MacWEEK article help needed (1996)
thread discussion solution (2000)
NT - Thanks and Taxes (1997)
A new perspective ... (2005)
Transfering [text] variables (2000)
Zip Code Search (2000)
I'm having trouble using [url][interpret][math] together in lookup (1997)
Mail Server Needed. (1998)
japanese characters (1997)
[WebDNA] Migrating site (2017)
different show next (1997)
Bug or syntax error on my part? (1997)