[Gllug] Locating Subdirectories
Stig Brautaset
stig at brautaset.org
Tue Jul 27 11:00:39 UTC 2004
On Tue, Jul 27, 2004 at 11:51:12AM +0100, Mick Farmer wrote:
> Dear GLLUGers,
>
> I need to obtain the names of all the subdirectories in the
> current directory. I'm currently using the following.
>
> find * -type d -maxdepth 0
find . -type d -maxdepth 1 -printf "%f\n"
will find hidden directories too.
Stig
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list