[Gllug] Locating Subdirectories

Alain Williams addw at phcomp.co.uk
Tue Jul 27 10:50:38 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

That will not find directories who's names start with a '.'.

I sumply go:

	du

> Does anyone have anything simpler?
> 
> Regards,
> 
> Mick               /"\                      
>                    \ /                      
> Linux Registered    X  ASCII Ribbon Campaign
> User #287765       / \ Against HTML Mail
> -- 
> Gllug mailing list  -  Gllug at gllug.org.uk
> http://lists.gllug.org.uk/mailman/listinfo/gllug

-- 
Alain Williams

#include <std_disclaimer.h>

FATHERS-4-JUSTICE - Campaigning for equal rights for parents and the
best interests of our children. See http://www.fathers-4-justice.org
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list