• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Scripting

nwtn

Lurker
Hot to make a simple script in android? I've found just very difficult guide for developping very complex sw. I just would like to make a simple script moving some file from a folder to another.Something like

mv /sdcard/folder1/* /sdcard/folder2/

How can i do it?

[i know bash language already]

thank you
 
Hot to make a simple script in android? I've found just very difficult guide for developping very complex sw. I just would like to make a simple script moving some file from a folder to another.Something like

mv /sdcard/folder1/* /sdcard/folder2/

How can i do it?

[i know bash language already]

thank you

GScriptLite

Enjoy !!! .Script away !!!

Pity it is an abandonware :(
 
please can u explain me how it works? I installed it. I wrote down a simple script:

mkdir test
cd test
ls


but it doesnt works. It doesnt create the folfer test and command like mv and cp doesnt work too. Can u give some example of working script, please? The command dont work with pre-command su too.

*** I've rooted with superoneclick without installing busybox. Is it a problem?
 
please can u explain me how it works? I installed it. I wrote down a simple script:

mkdir test
cd test
ls


but it doesnt works. It doesnt create the folfer test and command like mv and cp doesnt work too. Can u give some example of working script, please? The command dont work with pre-command su too.

*** I've rooted with superoneclick without installing busybox. Is it a problem?

Set the working directory first.
Like /system ,/sdcard ,

cd /sdcard
mkdir test
cd test
ls


:D
 
Back
Top Bottom