ddmotion.sh: a shell script recreation of MS-DOS program "hdmotion" using dd in GNU/Linux
It works on all block devices with varying sector sizes, including HDDs, SSDs, ODDs, and even FDDs
Authored by Gemma 4, enhanced by DeepSeek-V4, audited and improved by me <3
Inspired by hdmotion by Jeremy Stanley (hdmotion.pingerthinger.com)
And hdmotion-for-windows by 1157369 (github.com/II57369/hdmotion-for-windows)
Released under GPLv3 license
This script was vibe coded together just for fun and comes with NO WARRANTY
Usage:
sudo chmod +x ./ddmotion.sh
sudo ./ddmotion.sh
Enter target device
Enter the number of loops