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:
/everything/a.txt
/b.txt
/c.txt
/not-much/b.txt
/destination
... 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"/>
</fileset>
</copy>
Thoughts?
Thanks
Kerry
--
View this message in context:
http://ant.1045680.n5.nabble.com/Copy-from-A-B-based-on-file-structure-of-C-tp3245973p3245973.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]