rsync icon indicating copy to clipboard operation
rsync copied to clipboard

[Question] rsync: Deleting files larger than --max-size in destination directories

Open JuseTiZ opened this issue 1 year ago • 0 comments

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!

JuseTiZ avatar Jan 20 '25 03:01 JuseTiZ