I accidentally executed
sudo shred -v -n 0 -z /dev/sdb
to prepare a thumb drive for formatting. But /dev/sdb was my external hdd. Although I immediately became aware of my mistake and pressed ctrl+c
shows that the ext4 partition on the external hdd got lost. I think shred copied some zeros into the space where the partition table was.
Is there any hope, that I can get my data back? I already tried the data rescue option in gparted but the programm hangs on different devices when attempting this.