Lately, I write a batch script that allows me to search whole hard drive in my computer, find all pictures and movies and make a copy of them on USB flash drive or external USB storage. Script is also run from the USB flash drive.
Now I want to go further with this matter and make a similar script that will allow me to make the same but on android device like my smartphone (I want to plug a flash drive via OTG USB cable, run a script from it, and make a backup of all pictures and movies find on my phone).
Maybe someone can help me with this? Should it be a linux based script or some other code language, maybe you can propose some example that I can use?