hd-idle

Utility program for spinning-down external disks after a period of idle time.

Arch Arch Linux
RUN pacman -S --noconfirm hd-idle
Fedora
RUN dnf install -y hd-idle
click the source code to copy install hd-idle on any operating system with command-not-found.com