Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Airsculpture

macrumors 6502
Original poster
Oct 14, 2020
358
89
I am trying to run two scripts, a start and a stop to capture logs from a DAP Music device connected to my iMac but I keep getting this permission block when i run either :



0efde2db-d553-45c2-bdae-617551920049




The content of the first script seems to be :

mydir=$(cd $(dirname $BASH_SOURCE) && pwd)

echo $mydir

cd $mydir

./adb devices

./adb root

./adb shell "setprop vendor.aplogd 1"

./adb shell "getprop veddor.aplog"



The permissions on the file show Read & Write but I'm lost as to why they won't run. I'm pretty vanilla when looking at the Terminal.



Any help appreciated
 
Keeps coming back with no file exists ( although they are in downloads/maccapturelog/ ) and i can't drag and drop them onto the 'root' of my SSD drive ?
 
I think that if you want help you're going to have to give a lot more detail.
 
I managed to run that command you gave me with the files in the download folder by pasting the command and dragging the file to Terminal.

I managed to run the files ( they are a start and stop shell to capture information from a music device which is failing to scan my SD Card successfully and the company had sent three files to me to log the scan).

After I ran the command on all three files, they ran successfully and produced a log file.

Many thanks for your help mate.
 
Last edited:
  • Like
Reactions: svenmany
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.