Hi all,
Yep it's time for my daily question.
This one should be easy!!
We rename all our startup disks X. So I've written a little script to do this.
It's basically;
sudo -u $AdminUser -p $AdminPassword diskutil rename $CurrentVolumeName $NewVolumeName
The above variables are all passed to $4-8 in Casper fine.
I can use the above to change X to Data or any other one word name.
Trouble is I want to rename 'Macintosh HD.' via ard or locally I'd write 'Macintosh HD' as 'Macintosh HD"
However Casper seems to pass te variable with the so the mac see's it as an illegal character.
Missing out the leads to the mac think ing I'm passing 3 variables & that too fails.
What's the simple thing I'm missing this time??
Regards,
Ben.
Grey Communications Group Limited
Registered No. 1795794, Registered in England
Registered Office The Johnson Building, 77 Hatton Garden, London, EC1N 8JS
VAT Number GB 404 6245 78

