How do you pass a variable into a Do Shell Script? I want to itterate through a group of files in a loop and chmod each one to 777, but to do that I have to get the filepath into the Do Shell Script command.
I was trying this kind of thing (which doesn’t work!) …
Without seeing your code to know what the these_files list contains, I suspect it is a path type issue. By that I mean you are probably feeding the script a list of Mac style paths (or file references) instead of the POSIX file paths the shell script needs. If that is the case, this should work: