Hello.

Another feature request from Debian bugtracker:

From: Frédéric Brière <fbri...@fbriere.net>
To: Debian Bug Tracking System <sub...@bugs.debian.org>
Subject: s3cmd: have sync detect renamed (and possibly copied) files
Date: Thu, 13 Aug 2009 21:36:31 -0400

Package: s3cmd
Version: 0.9.9-2
Severity: wishlist

It would be nice if sync could detect renamed files, which it will
currently delete and re-upload.  The detection could easily be done at
the end of _compare_filelists(), by trying to find matches between what
remains of src_list and dst_list by size and MD5.  This should probably
be an option, though, since it may force the computation of the hash
over many local files.

(Note: beware of the edge case of swapping two files.)

Another improvement (though less useful to me) would be to detect copied
files, a sort of generalization of the above.


I thought of giving the renaming case a try, but the code's a bit too
hairy for my tastes.  So, here's a wishlist report instead.



-- 
  http://fossarchy.blogspot.com/

Attachment: pgpcEmVgcf5fi.pgp
Description: PGP signature

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general

Reply via email to