sed命令查找替换为"len_msm_cam_sensor.h"

sed -i 's:<media/msm_cam_sensor.h>:"len_msm_cam_sensor.h":g' $(find . -name "*.h" -print)

sed -i 's:hardware/qcom/camera:vendor/len/camera/camera-hal:g' `find -name Android.mk |xargs grep 'hardware/qcom/camera' -l `

 

你可能感兴趣的:(sensor)