I have an Android phone and I continue to upload some media files that I would not want to appear in the gallery. Don't think I'm absurd here. To accomplish this task, I wrote a small and lightweight script. Here it is.
echo "Below files will be hidden." for fName in `ls /storage/extSdCard/Download/*.mp4` do echo $fName mv -f $fName `basename $fName .mp4`.bak done
When I execute this script using the Explorer application of the Script executor application with the root user, I get an error message as shown below.
mv: can't create 'abc.mp4': Read-only file system
I assume that the root user has a free run on unix / linux based systems. Can anyone direct me to this?
source share