Re: Removing downloaded Oracle software

From: Radoulov, Dimitre <cichomitiko_at_gmail.com>
Date: Mon, 18 May 2009 11:52:59 +0200
Message-ID: <4A112FFB.7070507_at_gmail.com>



Ian Cary wrote:
> Slightly off topic but I'd use xargs for this approach e.g.
>
> find $ORACLE_HOME -exec ls -ld {} >>exec_list \;
>
> takes around 3 minutes on a Linux box I have whereas
>
> find $ORACLE_HOME | xargs ls -ld >>xargs_list
>
> produces the same results in 2 seconds
>

Well,
you could even try:

find ... -ls (without the -exec switch)

Or even:

ls -lR

With recent shells (zsh, ksh93 and bash4) you could even do it all in shell without external commands like find/ls :)

Regards
Dimitre

--
http://www.freelists.org/webpage/oracle-l
Received on Mon May 18 2009 - 04:52:59 CDT

Original text of this message