Just seen a typo, below should read:
Which finds files created 26 Jan 2005 00:00
not
Which finds files created 05 Jan 2005 00:00
Sorry!! :-)
George McKenzie <oracledba-ezmlmshield-x53086022.[Email address protected] wrote:
A question for any UNIX gurus out there....
I have written a procedure that builds a unix shell script.
The main output of the script is:
ls -log | awk ' $4 == "Jan" && $5 == 26 && $6 == "00:00"'
Which finds files created 05 Jan 2005 00:00
Does anyone know how to turn the value for $6 into a wildcard that return values for anytime on that day (ie the equivalent of *:*)??
Many thanks in advance....
--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these terms:http://www.lazydba.com/legal.html
Oracle LazyDBA home page