You have two filesystem trees, A and B. You want the files on both sides to be the same. Cases that you need to handle: File exists on A but not on B (and vice-versa) File exists on both and is identical File exists on both and is different Right about this point in time, you’re in trouble. (That was fast!) Only one of those situations can be handled automatically, and that’s if the file is identi