Is it possible to get a script to run every time rsync runs? For example, when I do
Code:
rsync -avr A:src/ B:dest/
I want a script to run before (or after) the syncing on B. I want to do this so that I can implement some sort of versioning on B, so that on every rsync I can make a timestamped copy of any files that change.