Backup with bash and rsync...
- by Roger
Is there a way to auto-rename an existing file on the receiver? For example: if filename already exists, it auto-rename filename to something like filename_001, filename_002 and so on....
So far all I have is this:
$ rsync -rh --progress --stats --exclude '.thumb' \
--update --perms /origin /destination
By the way, I know rsync has --ignore-existing to "skip updating files that exist on receiver", but I guess what I need would be something like --rename-existing.