1 月 162024
Source: Handling renamed files or directories in rsync
Here is a tool that is designed to work before rsync
is run: rsync-sidekick
This propagates following changes from source directory to destination directory (or any combination of below):
- Change in file modification timestamp
- Rename of file/directory
- Moving a file from one directory to another
rsync
options such as --detect-renamed
, --detect-renamed-lax
, --detect-moved
and --fuzzy
don’t work reliably and sometimes are dangerous! rsync-sidekick
is reliable alternative to all these options and much more.