android - push command instead of cp command when dealing with system root -


i'm using adb move files in android device storage system there way can use push command instead of cp when want transfer folder contain files , folders inside storage system coz push command allows me transfer folders inside main folder cp command transfer files or there other way??

this example :

adb shell "su -c ' stop'" adb shell "su -c ' mount -o remount,rw /dev/block/platform/msm_sdcc.1/by-name/system'" adb shell "su -c ' cp /data/local/tmp/system/app/* /system/app'" adb shell "su -c ' cp /data/local/tmp/system/framework/* /system/framework'" adb shell "su -c ' cp /data/local/tmp/system/prive-app/* /system/priv-app'" adb shell "su -c ' cp /data/local/tmp/system/fontes/* /system/fonts'" adb shell "su -c ' cp /data/local/tmp/system/csc/* /system/csc'" adb shell "su -c ' cp /data/local/tmp/system/samsung_962_r1-2_arlsun_xt9_alm3.ldb /system/t9db'" adb shell "su -c ' start'" 

cant short code 1 line like

adb shell "su -c ' cp /data/local/tmp/system/* /system'" 

it gives me error message when use one!


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -