Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 38616 invoked from network); 22 Mar 2005 11:40:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Mar 2005 11:40:08 -0000 Received: (qmail 72124 invoked by uid 500); 22 Mar 2005 11:40:03 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 72084 invoked by uid 500); 22 Mar 2005 11:40:02 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 72065 invoked by uid 99); 22 Mar 2005 11:40:02 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_90_100,HTML_MESSAGE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of abunetta@gmail.com designates 64.233.170.201 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.201) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 22 Mar 2005 03:40:00 -0800 Received: by rproxy.gmail.com with SMTP id z35so1481716rne for ; Tue, 22 Mar 2005 03:39:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:mime-version:content-type:x-mailer:x-mimeole:thread-index:message-id; b=hi1v1TAZ+FzN/FSU0/jfj5Ika5fH5pdtQZaTmpvStmimWFTMBvx37bCnmcRMbU9an0QClPANAEmJx9QgCM3iPJLmJWATfghxuCcgrO/6cLiCv0JwKUcKtdRteJI6vHDRiY0p80P2Q0mYt5Kp2oVIN8OpA6V3xEvX3wjrZfCqPQE= Received: by 10.38.208.17 with SMTP id f17mr4201921rng; Tue, 22 Mar 2005 02:39:58 -0800 (PST) Received: from gpsdreznik ([192.117.238.41]) by mx.gmail.com with ESMTP id k23sm260835rnb.2005.03.22.02.39.57; Tue, 22 Mar 2005 02:39:58 -0800 (PST) From: "David Resnick" To: "'Ant Users List'" Subject: Making copy NEVER overwrite Date: Tue, 22 Mar 2005 12:39:55 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_003D_01C52EDC.41BB3D80" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Thread-Index: AcUuy3zV4ncPnkMSTtSaNNytk7BAwg== Message-ID: <423ff5fe.0ddd90b8.4d96.5858@mx.gmail.com> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_003D_01C52EDC.41BB3D80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I am making a backup of some files which I then filter back into the original. Unfortunately, because of the way the targets are set up, this is done more than once. I want the copy task to perform the backup only if the backup files don't exist. Setting overwrite to false doesn't help me because the second time around the original is newer than the backup. Can anyone think of a way of preventing the copy target from copying if the file already exists? Thanks, David ------=_NextPart_000_003D_01C52EDC.41BB3D80--