rsync
rsync copied to clipboard
[Question] rsync: Deleting files larger than --max-size in destination directories
Hello rsync team,
I have a question regarding the removal of files larger than the specified --max-size in destination directories while running rsync. I’ve tried using the --delete and --delete-excluded option, but it seems that files exceeding the --max-size limit are not excluded from the transfer list.
This feature would be particularly useful for situations where I need to back up only small, essential files, without manually running a find -delete command to remove larger files after adjusting the --max-size option.
Looking forward to your reply!