Do you know about selectors? <delete> with a fileset with appropriate selectors should be able to do the job. Note though that it probably does do a depth-first recursion, so won't remove dirs who become empty because the empty dirs they contained were removed. <sync> contains code to do just that, but it's not exposed as a task. Maybe <sync dir="foo" todir="foo" includeEmptyDirs="false" /> would have this side effect, although I'd think there would be a safeguard against self-sync. --DD
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]