Displaying 1 result from an estimated 1 matches for "temp_backup".
Did you mean:
keep_backup
2010 Aug 24
0
Need precisions on --detect-rename
...ing this mailling list archives) for
the last 2 weeks, on how to handle moved and/or renamed files with rsync. I
would have preferred to use an unmodified rsync, and I think I could make it for
the ?moved files? with a 3 steps process like this :
1- rsync -avz --delete --backup --backup-dir=$TEMP_BACKUP --existing
--ignore-existing $SOURCE $DESTINATION
2- find .$TEMP_BACKUP -type f -exec mv '{}' $TEMP_BACKUP/ \; ### ?flatten?
the hierarchy moving all files to top dir
3- rsync -avz --compare-dest=./temp_backup $SOURCE $DESTINATION
but it looks like the only way for "renamed f...