bootable usb Big Sur reateinstallmedia: invalid option -- ?
Hi, I have 2 PCs, one with BigSur (that works) and an old one with HighSierra (that stuck on the boot). My objective is create a bootabe media from bigsur to highsierra
I have formatted an USB with GUIDD.
with the command "diskutil list" I can see it
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *63.3 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS chiavetta 63.0 GB disk2s2
with the command cd /Volumes/chiavetta I can access it in terminal
Then I run the command:
sudo /Users/noidue/Downloads/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia -–volume /Volumes/chiavetta --applicationpath /Applications/Install\ macOS\ High\ Sierra.app/
(the path are get dragging the icons from the finder to the terminal)
I have this error...
createinstallmedia: invalid option -- ?
Usage: createinstallmedia --volume <path to volume to convert>
Arguments
--volume, A path to a volume that can be unmounted and erased to create the install media.
--applicationpath, A path to copy of the OS installer application to create the bootable media from.
--nointeraction, Erase the disk pointed to by volume without prompting for confirmation.
Example: createinstallmedia --volume /Volumes/Untitled
Any advice?
Thanks