ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Bessette" <ebesse...@gmail.com>
Subject Delete files missing from another directory
Date Mon, 22 Jan 2007 15:03:07 GMT
Is there any way to delete files in one directory, say directory A, that are
NOT in another directory, say directory B?  I'm looking for something
similar to the depends attribute in the FTP tag.

 

For example, if file 1 and file 2 were in directory A, but directory B only
contained file 2, then I'm looking for something that would just delete file
1.

 

Thanks,

Eric


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message