ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From james terry <james.te...@unikala.com>
Subject fileset definition help...
Date Thu, 08 Feb 2001 01:10:14 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

how can i use ant to remove a subset of files from a directory where
the definition of that subset is the contents of a different
directory?

from the shell, it would be something like:


cd dir1

for i in `find . -print` ; do
rm dir2/$i
done



thanks,
james@i-mech.com





-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.8

iQA/AwUBOoHxkJflVHdG6xJOEQJ9owCeMxvdcoQEfH3YdX7fyU4uat2uuVwAn0Dp
9CbgVvC6fHR7s2UVTwBihnpK
=+6Qc
-----END PGP SIGNATURE-----


Mime
View raw message