Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JuseTiZ opened this issue Jan 20, 2025 · 0 comments

Comments

@JuseTiZ
Copy link

JuseTiZ commented Jan 20, 2025

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant