Scot, Thank you for your response. This returns the number of files not the list of actual files. Ben
-----Original Message----- From: Scot P. Floess [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2008 10:28 AM To: Ant Users List Subject: Re: find file in specify directory and its sub-directory You might check the resourcecount target On Tue, 7 Oct 2008, Ben Tu wrote: > Hi, > I would like to accomplish the similar task below in ant script. > Does anyone know how? > > find . -name '*.class' | sed -e 's/^.\///g' -e 's/\$/\\\$/g' | sort > log.txt > > thanks > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Scot P. Floess 27 Lake Royale Louisburg, NC 27549 252-478-8087 (Home) 919-754-4592 (Work) Chief Architect JPlate http://sourceforge.net/projects/jplate Chief Architect JavaPIM http://sourceforge.net/projects/javapim Architect Keros http://sourceforge.net/projects/keros --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
