November 20, 201213 yr I was running 10.6.8, but after a server replacement I now have MacOS X 10.8.2 running. Everything seems to work. However a migrated shell script does not. The orginal script was : #! /bin/bash cd /Volumes/Macintosh HD2/Netwerk rm -R BackupAVG ls -t | head -1 | xargs -I % mv % BackupAVG I needed to rename the second hd to MacHD2 ( I did this in the Finder ), so the script is now : #! /bin/bash cd /Volumes/MacHD2/Netwerk rm -R BackupAVG ls -t | head -1 | xargs -I % mv % BackupAVG It won't run.... 'Aborted unexpectedly' Running the commands in terminal work as expected. Anything to check ?
Create an account or sign in to comment