exclude files from backup with rsync -b

Thomas Gutzler thomas.gutzler at gmail.com
Wed Oct 21 03:50:36 MDT 2009


is there a way to exclude files from being backed up when running rsync -b?
Let's assume the following file tree:
Now, I'm modifying both files f1 and t1 and run
rsync -a --relative -b --backup-dir=/backup/ src/ dest/
Both ./dest/src/f1 and ./dest/src/temp/t1 should have been updated but
I only want /backup/ to contain the old src/f1 and NOT the old


More information about the rsync mailing list