Not good if you have files newer than January 10th there as well if all you
want to do is to delete those Eaual to January 10th.
-----Original Message-----
From: Kumar Pradip
[mailto:oracledba-ezmlmshield-x54778729.[Email address protected]
Sent: Friday, January 21, 2005 12:10 PM
To: LazyDBA Discussion
Subject: RE: Unix Command
find command with the help of touch can do that)
Use find to find all the files newer than another file (if one doesn't exist
use touch to create one) with timestamp of Jan 10.
find . -newer xx -exec rm -f {} \;
If needed create the file xx with desired timestamp
touch -t 200501101200.00 xx
emadbagrp:pkumar4> ls -l xx
-rw-r--r-- 1 pkumar4 appenab 1169 Jan 10 12:00 xx
-----Original Message-----
From: Edwards Ed
[mailto:oracledba-ezmlmshield-x75856029.[Email address protected]
Sent: Friday, January 21, 2005 12:35 PM
To: LazyDBA Discussion
Subject: Unix Command
To All,
Is there a Unix command to remove all files that are dated Jan 10:
ls -l | grep 'Jan 10'
--------
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
============================================================================
==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
============================================================================
==
--------
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