4359 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
  • thumbnail
    Detecting File Moves & Renames with Rsync | Lincoln Loop

    Une méthode pour ne pas rsync des fichiers qui ont été déplacés dans la source

    Et en commentaire une extension à la solution qui m'a l'air pas mal du tout

    I use a derivative of this method, by creating a separate hard-links directory with md5-filenames. This gets rid of any duplicate files as well. Any files in this hard links directory with link count 1 are removed. Any files in the albums tree without the same inode to be found in the hard links tree are hard-linked into the hard links tree by using an MD5 of the file. Before I rsync I update the hard links dir, so when my wife decides to make a beautiful photobook and copies and moves lots of photos around, my ADSL doesn't get swamped when backing up my local photo store.

    The same script also generates JPG files from Nikon image files (NEF).

    This works both on FreeBSD/Linux/UNIX/etc as well as NTFS. Which is nice.

    December 8, 2016 at 8:46:34 AM GMT+1 - permalink - archive.org - https://lincolnloop.com/blog/detecting-file-moves-renames-rsync/
    rsync
Links per page: 20 50 100
Shaarli - The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community - Help/documentation