Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Mark M." <anonymous@westshore.com>
Subject: Re: Listing Directories (without files!)
Date: 2000/03/20	[thread overview]
Message-ID: <N2AB4.22048$mK.1745514@brie.direct.ca> (raw)
In-Reply-To: 38D68B81.4DFD654D@merkantildata.no

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1760 bytes --]

Bergen Norway? My long lost relatives are out there someplace, in Seim
Norway. My Mother's maiden name is Seim. We have old photographs of those
who came to Canada many years ago. One of my brothers went there about 20
years ago to visit. When my wife and I went to England and France we checked
out the cost of going to Norway. At that time it would have costed us as
much to go to Norway from England as to get all the way to England from
Canada, so we skipped it.

Mark M.


Knut Helleb� wrote in message <38D68B81.4DFD654D@merkantildata.no>...
>Hi !
>
>I've always been doing ls -ld *|grep '^d' with success. Think this is
>faster than find if you're only wanting to investigate the current
>directory. You could also do a find -prune .... where prune makes the
>find command not descending into subdirectories (if I remember right).
>
> Knut Helleb�
> Merkantildata ASA
> Bergen, Norway
>
>Andy Wagg wrote:
>>
>> Why not use find:
>>
>>     find / -type d -print
>>
>> This should give you a nice list of all the directories.
>>
>> Andy.
>>
>> "Mark M." wrote:
>>
>> > Currently I use the following command on our Digital Alphastation
4/166's
>> > (with OSF/1) to obtain a listing of subdirectories without the
associated
>> > clutter of file names:
>> >
>> > ls -p | grep "/"
>> >
>> > This command uses "-p" to place a "/" at the end of each directory
name,
>> > (but not file names), then searches for and displays only those entries
with
>> > a "/", yielding a display of only the subdirectories. I do this because
the
>> > directory has about 50,000 files in it and I have no other brief method
of
>> > displaying just the directory names.
>> >
>> > QUESTION:  IS THERE A BETTER WAY? Is there an "ls" option that does
this?
>> >
>> > Mark M.





  reply	other threads:[~2000-03-20  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-20  5:00 Listing Directories (without files!) Mark M.
2000-03-20  5:00 ` Andy Wagg
2000-03-20  5:00   ` Knut Hellebø
2000-03-20  5:00     ` Mark M. [this message]
2000-03-21  5:00     ` Yong S. Yi
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox