AW: How to delete all files in a dirset
"Al Le" <[email protected]>
| Newsgroups | gmane.comp.jakarta.ant.user |
|---|---|
| Message-ID | <trinity-6d6857b3-91d8-4304-9360-e95e49e43e57-1476976054675@3capp-gmx-bs34> |
Hua, Jan, thank you for the great example! My requirement is not quite "delete recursively all directories which contain a marker file". But very similar. It is: Delete recursively all directories which only contain files with some name patterns but no other files. If there are other files in the dir, it should not be deleted. I managed to create a dirset of such dirs using a scriptselector. And was wondering how to delete them. 'apply' might be a bit platform dependent, but it's simple and does the job. Thank you again for taking time! AL