ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kerryland <>
Subject Copy from A -> B based on file structure of C?
Date Tue, 02 Nov 2010 00:03:08 GMT

I'd like to copy files from one directory to another, but only those files
that exist in 
a given directory.

eg, given 3 directories:




... I'd like to copy files from "everything" to "destination", but only
the files that EXIST in "not-much".

ie: copy /everything/b.txt to /destination

Of course I don't know what files I might want to copy. It depends on 
whatever is in "not-much".

Here's my imaginery, wrong, syntax:

    <copy todir="destination" >
       <fileset dir="everything">
           <filelist dir="not-much"/>


View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message