-----Oorspronkelijk bericht----- Van: Maurits van Rees [mailto:[EMAIL PROTECTED] Namens Maurits van Rees Verzonden: donderdag 11 november 2004 20:42 Aan: [EMAIL PROTECTED] Onderwerp: Re: How about links (was: Get directories names)
On Thu, Nov 11, 2004 at 02:23:13PM -0500, Tong wrote: > On Tue, 09 Nov 2004 16:56:06 -0600, Alex Malinovich wrote: > > To get a list of directories in the CURRENT directory, just do: > > > > ls -d */ > > Ok, the problem of directories names solved. Now, how about links? I don't know of an easy way with `ls' here, so I think `find' is best. To find all links in this and all subdirs: find . -type l or just in this dir: find . -type l -maxdepth 1 without dotfiles: find . -type l -maxdepth 1 -name "*" `man find` will give you more options than you should ever need. :) -- Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands] "Let your advance worrying become advance thinking and planning." - Winston Churchill -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

