Created
April 9, 2017 21:53
-
-
Save alces/25d9dacfe68e441b6d29d0939818d3ad to your computer and use it in GitHub Desktop.
How to run a command against each file from a set using Apache Ant
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- See http://ant.apache.org/manual/index.html for the complete list of options supported by <apply> task --> | |
<project name="cycle-test" default="stat-cycle"> | |
<target name="stat-cycle"> | |
<!-- set parall="true" in order to run the command only once against all files from the set --> | |
<apply executable="stat"> | |
<fileset dir="/etc"> | |
<patternset> | |
<include name="*.conf" /> | |
</patternset> | |
</fileset> | |
</apply> | |
</target> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment