Re: rsync most recent files from large source



On 2008-04-29, GROG! <INVALID_EMAIL_CHECK_MY_SIG@xxxxxxxx> wrote:

What's happening is that rsync is transferring all the files each time
it's run, whether they've changed or not. As well, if the file listing
changes, rsync is not deleting the older files from the destination.

Add the -a flag to store dates (amongst others).

Add --delete to remove files files from dest, if they don't exist in source
anymore.



--
There is an art, it says, or rather, a knack to flying.
The knack lies in learning how to throw yourself at the ground and miss.
Douglas Adams
.



Relevant Pages

  • Re: rsync most recent files from large source
    ... rsync is not deleting the older files from the destination. ... The knack lies in learning how to throw yourself at the ground and miss. ...
    (comp.unix.shell)
  • Re: rsync most recent files from large source
    ... Which is what I'm concerned about as I said above, rsync is *not* ... deleting the files on dest even with that option included. ... The knack lies in learning how to throw yourself at the ground and miss. ...
    (comp.unix.shell)
  • Re: Give Up on Linspire
    ... if you really feel fond of Linspire then look at Freespire (their free ... rsync over ssh works for me. ... The knack lies in learning how to throw yourself at the ground and miss. ...
    (alt.os.linux)
  • Re: Death of a drive
    ... then what flag do I need for all of the hidden directories and files?) ... rsync -av /home /newhome should do! ... You can work with the regular user while you're ... The knack lies in learning how to throw yourself at the ground and miss. ...
    (uk.comp.os.linux)
  • Re: File Sincronization between hosts
    ... Please tell me more about rsync and how get it. ... It's a fast task sinchronize 150000 ... files between 3 solaris hosts? ... The knack lies in learning how to throw yourself at the ground and miss. ...
    (comp.unix.shell)