ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@gmail.com>
Subject Re: Ant find duplicate files
Date Fri, 06 Nov 2009 21:50:37 GMT
With stock Ant, I think you'd have to do this in two passes, but the  
<present> selector (see http://ant.apache.org/manual/CoreTypes/ 
selectors.html#presentselect) should help.

-Matt

On Nov 6, 2009, at 3:45 PM, cvsusr wrote:

>
> Hi
>
> In my ant build,
>
> I need to find duplicate files under set of dirs and if found, copy  
> it to
> the temp directory.
>
> say in my current dir i have chk/src/a.txt and chk/src2/a.txt and
> chk/src2/b.txt
>
> the task should find a.txt under src and src2 and copy it to chk/ 
> test dir
> with folder names
>
> Can this  be done in any way..
>
> Thanks
> -- 
> View this message in context: http://old.nabble.com/Ant-find- 
> duplicate-files-tp26230907p26230907.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>


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


Mime
View raw message