1

[Q] Script Error

view story
linux-howto

http://forum.xda-developers.com – Hi all, Can you help me checking the script? I'm testing in adb sheel not work. a.sh Quote: #!/system/bin/sh for i in \ `busybox find /data -iname "*.db"`; do \ /system/xbin/sqlite3 $i 'VACUUM;'; /system/xbin/sqlite3 $i 'REINDEX;'; done; Quote: E:\adb>adb push a.sh /data/local/tmp 10 KB/s (156 bytes in 0.015s) E:\adb>adb shell shell@android:/ $ su su shell@android:/ # sh /data/local/tmp/a.sh sh /data/local/tmp/a.sh /data/local/tmp/a.sh[3]: syntax error: '$(busybox find /data (HowTos)