in reply to if owner A change to owner B

I would use File::Find::Rule, stat, chown