Skip to main content
4 events
when toggle format what by license comment
Apr 19, 2018 at 15:34 comment added Seamus But it seems you've neglected the issue of passing the result of the AppleScript to the shell. All the & myFile does is add the literal "myFile" onto the location of the shell script. That's not right!
Jun 21, 2016 at 10:55 comment added bmike The reason I left the typo is you will have to think about file names and paths containing spaces to program this in general. Apple historically has Macintosh HD with a space whereas bash uses spaces to indicate a new variable - if your code doesn't expect, test and handle spaces - sticking to AppleScript to handle file might be easier.
Jun 21, 2016 at 10:53 history edited bmike CC BY-SA 3.0
added 101 characters in body
Jun 21, 2016 at 10:45 history answered bmike CC BY-SA 3.0