def METHOD_NAME():
    for (name, blob) in cap.items():
        dir = os.path.join(local_root, name)
        path = os.path.join(dir, 'properties.json')
        dir2 = os.path.join('r', name)
        if os.path.isdir(dir2):
            path2 = os.path.join(dir2, 'properties.json')
            if not os.path.exists(path2) or subprocess.call(['cmp', '-s', path, path2]) != 0:
                print 'Copying %s to %s' % (path, path2)
                subprocess.call(['cp', '-p', path, path2])