I am trying to use a shell script to run the diskutil.
The command I am trying to run is : diskutil eraseVolume “Journaled HFS+” “newName” “VolumeToErase”
I know this works via terminal. My AppleScript Studio version looks like this:
do shell script "diskutil eraseVolume " & quoted form of (format) & " " & quoted form of (NewName) & " " & quoted form of (selectedDstVol)
This generates a general diskutil error. Not much to go on there.
Anyone else have some experience with this?
Dee