ls output

Gregory Boyce gboyce-qL0WqcyiFk9Wk0Htik3J/w at public.gmane.org
Mon Oct 20 14:37:27 EDT 2008


On Mon, 20 Oct 2008, Don Levey wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> What I'm trying to do seems like it should be simple, but I can't find
> the solution.  I have a directory hierarchy; ideally what I want to do
> is to get a full directory path listing for each file of a particular
> type (in this case, *.xml).
>
> My first try was the following:
>
> 	<FILEPATH>/*/*/*.xml
>

Have you tried using find instead of ls?

find /PATH -name *.xml





More information about the Discuss mailing list