Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: ls and rm command
On Dec 3, 2007 10:46 AM, <Joel.Patterson_at_crowley.com> wrote:
> WITH XARGS
>
> jaxlawdw > find . -name "access_log.*" -atime +245 | xargs ls -lt
It's always a good idea to use the -d option of ls with xargs:
find . -name "access_log.*" -atime +245 | xargs ls -ltd
A couple of test runs and a quick read of the ls man page will show why.
-- Jared Still Certifiable Oracle DBA and Part Time Perl Evangelist -- http://www.freelists.org/webpage/oracle-lReceived on Mon Dec 03 2007 - 17:11:52 CST
![]() |
![]() |