Hi Nation,
(total noob so sorry if this is a dumb request)
context: pre imaging partition
I want to do a simple thing but cannot find online how to do it:
-I have 2 disks, both have a partition with an Apple_hfs type
-I want to grep the disk of only one by doing:
diskutil list | grep GUID_partition_scheme | grep -v ???? | awk '{print$5}'
I want to exclude
/dev/disk2 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +68.7 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS Netboot-Sierra-062018 68.4 GB disk2s2
and use Netboot-Sierra-062018 with the switch -v
any ideas?
(hope all of this makes sense)
PS: how do you pronounce grep? g-rep or grrep?