tags:

views:

52

answers:

1

As a result of an ant process, I generate several files (the contents of a batch svn diff). In this case, some diff files are empty, so I would like to delete them automatically so I can concentrate only on the differences.

Is there an ant command that would allow me to delete all files with 0 bytes easily?

+3  A: 

Try the delete task using a fileset and the size attribute.

adam