Report forwarded to debian-bugs-dist@lists.debian.org, Philip Hands <phil@hands.com>:
Bug#64434; Package rsync.   debian-bugs-dist@lists.debian.orgPhilip Hands  Subject: Bug#64434: rsync: detect moved files? Reply-To: Brian White , 64434@bugs.debian.org Resent-From: Brian White Orignal-Sender: bcwhite Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: Philip Hands Resent-Date: Sun, 21 May 2000 06:03:01 GMT Resent-Message-ID: Resent-Sender: owner@bugs.debian.org X-Debian-PR-Message: report 64434 X-Debian-PR-Package: rsync X-Debian-PR-Keywords: X-Loop: owner@bugs.debian.org Received: via spool by bugs@bugs.debian.org id=B.95888510931245 (code B ref -1); Sun, 21 May 2000 06:03:01 GMT Sender: bcwhite Message-ID: <39276D20.5066D50F@pobox.com> Date: Sun, 21 May 2000 00:59:12 -0400 From: Brian White X-Mailer: Mozilla 4.5 [en] (X11; U; Linux 2.0.36 i686) X-Accept-Language: en MIME-Version: 1.0 To: Debian Bugs Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Delivered-To: submit@bugs.debian.org Package: rsync Version: 2.1.1-1 Severity: wishlist It would be nice if rsync could detect a moved file. For example, if when downloading, there is a new file that matches the information of an old file now gone (timestamp and/or file size, depending on the command-line options) then rsync could just do an md5sum to see if they're the same. If they are the same, then just move the local file. Brian ( bcwhite@pobox.com ) ------------------------------------------------------------------------------- In theory, theory and practice are the same. In practice, they're not.   Acknowledgement sent to Brian White <bcwhite@pobox.com>:
New Bug report received and forwarded. Copy sent to Philip Hands <phil@hands.com>.   -t  From: owner@bugs.debian.org (Debian Bug Tracking System) To: Brian White Subject: Bug#64434: Acknowledgement (rsync: detect moved files?) Message-ID: In-Reply-To: <39276D20.5066D50F@pobox.com> References: <39276D20.5066D50F@pobox.com> X-Debian-PR-Message: ack 64434 Thank you for the problem report you have sent regarding Debian. This is an automatically generated reply, to let you know your message has been received. It is being forwarded to the developers mailing list for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Philip Hands If you wish to submit further information on your problem, please send it to 64434@bugs.debian.org (and *not* to bugs@bugs.debian.org). Please do not reply to the address at the top of this message, unless you wish to report a problem with the Bug-tracking system. Darren Benham (administrator, Debian Bugs database)   Received: (at submit) by bugs.debian.org; 21 May 2000 04:58:29 +0000 From bcwhite@pobox.com Sat May 20 23:58:28 2000 Return-path: Received: from cpu1612.adsl.bellglobal.com (gatekeeper.bcwhite.dhs.org) [206.47.27.93] (mail) by master.debian.org with esmtp (Exim 3.12 #2 (Debian)) id 12tNoq-00087s-00; Sat, 20 May 2000 23:58:28 -0500 Received: from dragon.bcwhite.dhs.org (pobox.com) [192.168.1.10] (bcwhite) by gatekeeper.bcwhite.dhs.org with esmtp (Exim 2.05 #1 (Debian)) id 12tNp6-0001V2-00; Sun, 21 May 2000 00:58:44 -0400 Sender: bcwhite Message-ID: <39276D20.5066D50F@pobox.com> Date: Sun, 21 May 2000 00:59:12 -0400 From: Brian White X-Mailer: Mozilla 4.5 [en] (X11; U; Linux 2.0.36 i686) X-Accept-Language: en MIME-Version: 1.0 To: Debian Bugs Subject: rsync: detect moved files? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Delivered-To: submit@bugs.debian.org Package: rsync Version: 2.1.1-1 Severity: wishlist It would be nice if rsync could detect a moved file. For example, if when downloading, there is a new file that matches the information of an old file now gone (timestamp and/or file size, depending on the command-line options) then rsync could just do an md5sum to see if they're the same. If they are the same, then just move the local file. Brian ( bcwhite@pobox.com ) ------------------------------------------------------------------------------- In theory, theory and practice are the same. In practice, they're not.   Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#64434; Package rsync.   debian-bugs-dist@lists.debian.org  X-Loop: owner@bugs.debian.org Subject: Bug#64434: rsync: detect moved files? Reply-To: Paul Slootman , 64434@bugs.debian.org Resent-From: Paul Slootman Resent-To: debian-bugs-dist@lists.debian.org Resent-Date: Sun, 10 Apr 2005 13:48:10 UTC Resent-Message-ID: Resent-Sender: owner@bugs.debian.org X-Debian-PR-Message: report 64434 X-Debian-PR-Package: rsync X-Debian-PR-Keywords: Received: via spool by 64434-submit@bugs.debian.org id=B64434.111314003612146 (code B ref 64434); Sun, 10 Apr 2005 13:48:10 UTC Received: (at 64434) by bugs.debian.org; 10 Apr 2005 13:33:56 +0000 Received: from cust.88.114.adsl.cistron.nl (gw.wurtel.net) [195.64.88.114] (mail) by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DKcZH-00039T-00; Sun, 10 Apr 2005 06:33:39 -0700 Received: from wurtel ([192.168.1.1] helo=wurtel.net) by gw.wurtel.net with esmtp (Exim 3.36 #1 (Debian)) id 1DKcYz-0002nC-00; Sun, 10 Apr 2005 15:33:21 +0200 Received: from paul by wurtel.net with local (Exim 4.33 #1 (Debian)) id 1DKcYp-00072w-7b; Sun, 10 Apr 2005 15:33:11 +0200 Date: Sun, 10 Apr 2005 15:33:11 +0200 From: Paul Slootman To: Brian White Cc: 64434@bugs.debian.org Message-ID: <20050410133311.GA26999@wurtel.net> References: <39276D20.5066D50F@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <39276D20.5066D50F@pobox.com> User-Agent: Mutt/1.5.6i X-Scanner: exiscan *1DKcYz-0002nC-00*gowOAQ5SJLA*Wurtel Delivered-To: 64434@bugs.debian.org X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: On Sun 21 May 2000, Brian White wrote: > Package: rsync > Version: 2.1.1-1 > Severity: wishlist > > It would be nice if rsync could detect a moved file. For example, if > when downloading, there is a new file that matches the information > of an old file now gone (timestamp and/or file size, depending on the > command-line options) then rsync could just do an md5sum to see if > they're the same. If they are the same, then just move the local file. Doing that for all files isn't really an option, as that will consume large amounts of memory (ideally you need to first do an md5sum of *all* files on each end before doing any transfers, to be able to optimally detect moved files). In the latest 2.6.4 version there is a --fuzzy option for detecting moved files where the name has not changed too much, perhaps that could be enough? Paul Slootman   Acknowledgement sent to Paul Slootman <paul@debian.org>:
Extra info received and forwarded to list.   -t  X-Loop: owner@bugs.debian.org From: owner@bugs.debian.org (Debian Bug Tracking System) To: Paul Slootman Subject: Bug#64434: Info received (was rsync: detect moved files?) Message-ID: In-Reply-To: <20050410133311.GA26999@wurtel.net> References: <20050410133311.GA26999@wurtel.net> Precedence: bulk X-Debian-PR-Message: ack-info 64434 X-Debian-PR-Package: rsync X-Debian-PR-Keywords: Thank you for the additional information you have supplied regarding this problem report. It has been forwarded to the package maintainer(s) and to other interested parties to accompany the original report. If you wish to continue to submit further information on your problem, please send it to 64434@bugs.debian.org, as before. Please do not reply to the address at the top of this message, unless you wish to report a problem with the Bug-tracking system. Debian bug tracking system administrator (administrator, Debian Bugs database)   Received: (at 64434) by bugs.debian.org; 10 Apr 2005 13:33:56 +0000 From paul@wurtel.net Sun Apr 10 06:33:51 2005 Return-path: Received: from cust.88.114.adsl.cistron.nl (gw.wurtel.net) [195.64.88.114] (mail) by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DKcZH-00039T-00; Sun, 10 Apr 2005 06:33:39 -0700 Received: from wurtel ([192.168.1.1] helo=wurtel.net) by gw.wurtel.net with esmtp (Exim 3.36 #1 (Debian)) id 1DKcYz-0002nC-00; Sun, 10 Apr 2005 15:33:21 +0200 Received: from paul by wurtel.net with local (Exim 4.33 #1 (Debian)) id 1DKcYp-00072w-7b; Sun, 10 Apr 2005 15:33:11 +0200 Date: Sun, 10 Apr 2005 15:33:11 +0200 From: Paul Slootman To: Brian White Cc: 64434@bugs.debian.org Subject: Re: rsync: detect moved files? Message-ID: <20050410133311.GA26999@wurtel.net> References: <39276D20.5066D50F@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <39276D20.5066D50F@pobox.com> User-Agent: Mutt/1.5.6i X-Scanner: exiscan *1DKcYz-0002nC-00*gowOAQ5SJLA*Wurtel Delivered-To: 64434@bugs.debian.org X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: On Sun 21 May 2000, Brian White wrote: > Package: rsync > Version: 2.1.1-1 > Severity: wishlist > > It would be nice if rsync could detect a moved file. For example, if > when downloading, there is a new file that matches the information > of an old file now gone (timestamp and/or file size, depending on the > command-line options) then rsync could just do an md5sum to see if > they're the same. If they are the same, then just move the local file. Doing that for all files isn't really an option, as that will consume large amounts of memory (ideally you need to first do an md5sum of *all* files on each end before doing any transfers, to be able to optimally detect moved files). In the latest 2.6.4 version there is a --fuzzy option for detecting moved files where the name has not changed too much, perhaps that could be enough? Paul Slootman