Closed IvanIVGrozny closed 3 years ago
sudo /bin/bash ./generate-unique-machine-values.sh -c 1 --model="MacPro6,1"
And if that doesn't work, use bash5 (brew install bash
)
I was unaware cp was different in macOS
Fixing this
user@10 osx-serial-generator % ./generate-unique-machine-values.sh -c 1 --model="MacPro6,1"
DEVICE_MODEL: MacPro6,1
SERIAL_SET_COUNT: 1
OUTPUT_DIRECTORY: .
"MacPro6,1","F5KNLHY5F9VM","F5K443270J9FHDDJC","8BBB8C15-C08B-4407-9150-A854C1E87A57","34:C0:59:DA:44:0F","1920","1080"
Wrote CSV to: ./serial_sets-2021-03-22-12:05:26.csv
MacPro6,1 F5KNLHY5F9VM F5K443270J9FHDDJC 8BBB8C15-C08B-4407-9150-A854C1E87A57 34:C0:59:DA:44:0F 1920 1080
Wrote TSV to: ./serial_sets-2021-03-22-12:05:26.tsv
DEVICE_MODEL,SERIAL,BOARD_SERIAL,UUID,MAC_ADDRESS,WIDTH,HEIGHT
"MacPro6,1","F5KNLHY5F9VM","F5K443270J9FHDDJC","8BBB8C15-C08B-4407-9150-A854C1E87A57","34:C0:59:DA:44:0F","1920","1080"
DEVICE_MODEL SERIAL BOARD_SERIAL UUID MAC_ADDRESS WIDTH HEIGHT
MacPro6,1 F5KNLHY5F9VM F5K443270J9FHDDJC 8BBB8C15-C08B-4407-9150-A854C1E87A57 34:C0:59:DA:44:0F 1920 1080
When the script is used, it throws out an error. macOS High Sierra 10.13.6