You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Alexey Solofnenko <A....@mdl.com> on 2003/03/17 23:37:04 UTC

RE: How to sync two folders and preserve empty subfolders, but de lete obsolete ones?

How can I get it? Could you please give me its URL?

--
{ http://trelony.cjb.net/   } Alexey N. Solofnenko
Pleasant Hill, CA (GMT-8 usually)

-----Original Message-----
From: Dominique Devienne [mailto:DDevienne@lgc.com] 
Sent: Monday, March 17, 2003 2:35 PM
To: 'Ant Users List'
Subject: RE: How to sync two folders and preserve empty subfolders, but de
lete obsolete ones?

Have you tried <lsync> I submitted to bugzilla? Sounds like what you need.
Much more intuitive than the <copy>/<delete>/<present> combo... --DD

-----Original Message-----
From: Alexey Solofnenko [mailto:A.Solofnenko@mdl.com] 
Sent: Monday, March 17, 2003 4:32 PM
To: 'Ant Users List (ant-user@jakarta.apache.org)'
Subject: How to sync two folders and preserve empty subfolders, but delete
obsolete ones?

<copy> with <delete> works fine except for empty directories. I am able to
delete all empty directories or preserve all of them regardless whether they
exist in original folder. How can I delete only folders that do not exist in
the original folder?

- Alexey.

--
{ http://trelony.cjb.net/   } Alexey N. Solofnenko
Pleasant Hill, CA (GMT-8 usually)

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