Re: ls and directories only

2003-11-18 Thread Jonathan Dowland
On Tue, Nov 18, 2003 at 03:44:41PM -0500, Wayne Topa wrote: > alias lsd='ls -d */' > NOTE: This has nothing to do the the Opium Thread!! I was thinking about sensible aliases, and I came to the same conclusion :-) -- Jon Dowland http://jon.dowland.name/ -- To UNSUBSCRIBE, email to [EMAIL P

Re: ls and directories only

2003-11-18 Thread Wayne Topa
Lynn W([EMAIL PROTECTED]) is reported to have said: > I know this must be a silly question, but I have tried looking at the man and the > --help and could not find it: > > How does one use the ls command to display just the directories' names, and suppress > those which are not directories? In M

Re: ls and directories only

2003-11-18 Thread Alex Malinovich
On Tue, 2003-11-18 at 10:32, Lynn W wrote: > I know this must be a silly question, but I have tried looking at the man and the > --help and could not find it: > > How does one use the ls command to display just the directories' names, and suppress > those which are not directories? In MS-DOS, it

Re: ls and directories only

2003-11-18 Thread David Z Maze
"Lynn W" <[EMAIL PROTECTED]> writes: > Thanks, but how do I use > find -maxdepth 1 -type d > to just display the directories in the current directory, and not to > recurse into subdirectories, *and* to display all the directories' > permissions? I'd chant something like find . -name . -o -

Re: ls and directories only

2003-11-18 Thread Frank Gevaerts
On Tue, Nov 18, 2003 at 11:38:21AM -0600, Lynn W wrote: > Thanks, but how do I use > find -maxdepth 1 -type d > to just display the directories in the current directory, and not to recurse > into subdirectories, *and* to display all the directories' permissions? find -maxdepth 1 -type d -exec

Re: ls and directories only

2003-11-18 Thread Tom
On Tue, Nov 18, 2003 at 11:38:21AM -0600, Lynn W wrote: > Thanks, but how do I use > find -maxdepth 1 -type d > to just display the directories in the current directory, and not to recurse into > subdirectories, *and* to display all the directories' permissions? Okay, I'm just taking a quick

Re: ls and directories only

2003-11-18 Thread Lynn W
Thanks, but how do I use find -maxdepth 1 -type d to just display the directories in the current directory, and not to recurse into subdirectories, *and* to display all the directories' permissions? Thanks very much! Lynn > >I use "find -type f" for that. > > >-- >To UNSUBSCRIBE, email to [

Re: ls and directories only

2003-11-18 Thread Tom
On Tue, Nov 18, 2003 at 10:04:16AM -0700, Monique Y. Herman wrote: > On Tue, 18 Nov 2003 at 16:41 GMT, Tom penned: > > On Tue, Nov 18, 2003 at 10:32:27AM -0600, Lynn W wrote: > >> I know this must be a silly question, but I have tried looking at the > >> man and the --help and could not find it: >

Re: ls and directories only

2003-11-18 Thread Monique Y. Herman
On Tue, 18 Nov 2003 at 16:41 GMT, Tom penned: > On Tue, Nov 18, 2003 at 10:32:27AM -0600, Lynn W wrote: >> I know this must be a silly question, but I have tried looking at the >> man and the --help and could not find it: >> >> How does one use the ls command to display just the directories' >> na

Re: ls and directories only

2003-11-18 Thread Jerome BENOIT
Why do you not use `find' ? Lynn W wrote: I know this must be a silly question, but I have tried looking at the man and the --help and could not find it: How does one use the ls command to display just the directories' names, and suppress those which are not directories? In MS-DOS, it was dir /ad

Re: ls and directories only

2003-11-18 Thread Tom
On Tue, Nov 18, 2003 at 10:32:27AM -0600, Lynn W wrote: > I know this must be a silly question, but I have tried looking at the man and the > --help and could not find it: > > How does one use the ls command to display just the directories' names, and suppress > those which are not directories?

ls and directories only

2003-11-18 Thread Lynn W
I know this must be a silly question, but I have tried looking at the man and the --help and could not find it: How does one use the ls command to display just the directories' names, and suppress those which are not directories? In MS-DOS, it was dir /ad Doing ls -ld * does not do it as it onl