Listing *only* directories?

Peter Hiscocks phiscock-g851W1bGYuGnS0EtXVNi6w at public.gmane.org
Wed Jan 14 01:58:27 UTC 2004


Kan -
An interesting idea. I'll have to give that concept some thought. Thanks for
the suggestion.
Peter

On Tue, Jan 13, 2004 at 07:12:44PM -0500, Ken Heard wrote:
> I stumbled on my solution completely by accident.  Years ago I decided 
> that it was a good practice not to have both data files and 
> subdirectories in the same directory.  So, since any directory that has 
> subdirectories will only have subdirectories, ls will only list 
> subdirectories.
> 
> 				Ken Heard
> 
> 
> --
> The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml

-- 
Peter D. Hiscocks                         	   
Department of Electrical and Computer Engineering    
Ryerson University,                    
350 Victoria Street,
Toronto, Ontario, M5B 2K3, Canada

Phone:   (416) 979-5000 Ext 6109
Fax:     (416) 979-5280
Email:   phiscock-g851W1bGYuGnS0EtXVNi6w at public.gmane.org
URL:     http://www.ee.ryerson.ca/~phiscock
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list