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: Paul Sander
Subject: Re: listing symbolic links recursively, with dir listing
Date: Thu, 18 Jan 2001 20:08:04 -0800

Doesn't this do the trick?

find . -type l -print | xargs ls -l

--- Forwarded mail from address@hidden

I've just imported a directory structure into CVS that has a lot of symbolic
links in it.  I've written a script to restore these links from a file that
lists what they are and where they point.  However, I'm having trouble
finding all the links now.  I need to be able to recursively list all the
symbolic links, and what subdirectories they're in.  I can do a 
'ls -lR | grep lrwx' and that will show me all the links and where they
point, but I can't tell what subdirectory they're in.  I need to be able to
list them out and have the full path/filename listed...

Does anybody have any suggestions on how to do this, or know of a utility
that will do this?

--- End of forwarded message from address@hidden




reply via email to

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