Tried this and doesn't work, sadly. I turned off the hibernation option and it still goes to sleep like every couple of minutes and then wakes up again, all on its own.
Can't do this since my M3 iMac has USB-C only and the external hard drive is USB 3.0, so I have it connected through a hub.
just buy a $2 adapter as pointed out above, doesn't even need to be like a super official one
Yeah, I'm just not sure if it's worth it. I'm using a hub, isn't it supposed to be the same?
The most important question is, is the hub powered, either by plug-in or PD?
USB-C is, I think, actually kinda of a disaster for Macs. While the port is flexible, it's very flexibility and the fact that for non-PD-connected devices you need to have a basic idea of the total power draw of whatever you have connected vs the host device's ability to supply power over the C port means the average Mac user and PC users who're like Mac users doesn't have a clue what's going on.
And that's also why so many all-C hubs get bad reviews, because idiots be slapping phones, tablets etc on an unpowered hub and going "it doesn't charge, this hub sux".