rsync - Rsynch and SSH: Only rename folder when renamed from source -
i have been reading rsync documentation few hours, can't figure out how convey rsync how rename (and not re-upload folder , it's content) destination folders when renamed @ source.
i'm connecting destination ssh, , local folder source -- , remote server destination. if rename folder containing files, rsync automatically re-uploads content of source folder. i'm not using rsync's server part, maybe works if ?
i have encountered same behavior lftp, , tool doesn't seem's have these options. if based on file's date rule, files inside renamed folder removed/re-uploaded.
thanks in advance if knows how manage :)
how rsync or other program know constitutes renamed? if 2 directories similar candidates , somehow rsync guesses maybe either 1 rename of went before? it's not possible. think you're stuck uploading again.
you know --delete option, right:
--delete delete files don't exist on sending side
note --force option:
--force force deletion of directories if not empty
Comments
Post a Comment