Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to iterate a list of files and apply a command on each?

I have a folder with two files (a.exe and b.exe) in it and I need to run a command on each. For example xxx - a.exe a.bin. Is there a way to do this with Ant?

I want ant to run:

xxx - a.exe a.bin

and

xxx - b.exe b.bin
like image 232
Johnny Avatar asked Apr 01 '11 02:04

Johnny


1 Answers

Use <apply>. Read more about it here.

like image 131
ChrisH Avatar answered Oct 11 '22 07:10

ChrisH