On a non GPT partition table I can do
sfdisk -d /dev/sda | sfdisk /dev/sdb
But sfdisk
doesn't support GPT partition tables. What can I use instead?
I'm looking for a one or two command solution, not just using GNU parted to output the partition sizes and then manually making them again.