Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ls output



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gregory Boyce wrote:
> 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

I'm trying that now.  I need to discuss with one of our other folks
whether it will be a problem to grab any of the .xml files from
directories other than "three deep" from the base.

Thanks!
 -Don
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI/NQhiVR8AmYXiFARAsfaAJ92Qn2vnWyZACDYO4104xShCYNK4ACdGDmG
D7DbWLdWD2fM+vsEIfRmEQs=
=o86F
-----END PGP SIGNATURE-----






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org