rsync - Exclude files that are over a certain size?
Posted
by
Rory
on Server Fault
See other posts from Server Fault
or by Rory
Published on 2010-01-21T21:54:52Z
Indexed on
2014/06/04
3:27 UTC
Read the original article
Hit count: 369
I am doing a backup of my desktop to a remote machine. I'm basically doing rsync -a ~ example.com:backup/
However there are loads of large files, e.g. wikipedia dumps etc. Most of the files I care a lot about a small, such as firefox cookie files, or .bashrc
. Is there some invocation to rsync that will exclude files that are over a certain size? That way I could copy all files that are less than 10MB first, then do all files. That way I can do a fast backup of the most important files, then a longer backup of everything else.
© Server Fault or respective owner