Synchronizes folders smartly