I use hd-idle for my home server. As mentioned elsewhere, you do have to be careful spinning up/down disks frequently. If you’re using a Linux Mint, that tells me this is a desktop, so you probably shouldn’t do it at all. My server is idle for hours at a time though, so it makes sense in this case. I believe hd-idle defaults to spinning down after ten minutes of idle time.
https://github.com/adelolmo/hd-idle
I use hd-idle for my home server. As mentioned elsewhere, you do have to be careful spinning up/down disks frequently. If you’re using a Linux Mint, that tells me this is a desktop, so you probably shouldn’t do it at all. My server is idle for hours at a time though, so it makes sense in this case. I believe hd-idle defaults to spinning down after ten minutes of idle time.