I read the rsync documentation for several hours, but I cannot figure out how to transfer rsync as soon as I rename (rather than reload the folder and its contents) the destination folder when they are renamed to the source.
I connect to the recipient with SSH, and the local folder is the source, and the remote server is the destination. If I rename the folder containing the files, rsync will automatically reload the entire contents of the original folder. I do not use part of the rsync server, maybe it would work if it were done?
I came across the same behavior with lftp, and this tool does not seem to have these parameters. Even if it is based on a file date rule, files inside the renamed folder are deleted / reloaded.
Thanks in advance if anyone knows how to do this :)
ronan source
share