info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: listing symbolic links recursively, with dir listing


From: Larry Jones
Subject: Re: listing symbolic links recursively, with dir listing
Date: Fri, 19 Jan 2001 11:25:43 -0500 (EST)

Eric Siegerman writes:
> 
>       find . -type l -print | xargs ls -l
> might be faster, since it doesn't require a fork/exec for each
> symlink (to be honest, I don't actually know how "find -ls" is
> implemented; there may not be any improvement if, like xargs,
> it batches them up).

It's even better -- find just prints out an ls-like line itself without
forking or execing at all.

-Larry Jones

Fortunately, that was our plan from the start. -- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]