ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Delete files missing from another directory
Date Mon, 22 Jan 2007 15:46:10 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.
>
>Look at File Selectors, especially the <present> one. --DD


Means something like

<delete>
   <fileset dir="A">
       <not><preset targetdir="B"/>


Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message