Is there a way to use rsync and exclude files greater than a certain size?

Posted by milesmeow on Stack Overflow See other posts from Stack Overflow or by milesmeow
Published on 2010-03-08T19:06:25Z Indexed on 2010/03/08 19:21 UTC
Read the original article Hit count: 197

Filed under:

I've checked out the man pages and did some searching but can't find info on ways to have rsync skip files greater than a certain size. We're doing rsync to an offline location and when someone puts a hug video file, the rsync jobs run into work hours.

I've looked at the 'exclude' syntax and didn't see anything for excluding based on file size.

Can I do it with rsync or should I look for other offline synching alternatives?

© Stack Overflow or respective owner

Related posts about rsync