https://pastebin.com/p6PmeQDm
Just sharing how "magical" the CLI can be. You are welcome.
-EDIT Did a little "oopsie" there. My bad. It's fixed now.
-EDIT2 Nvm that, lemmy disliked my code for some reason. It's in the pastebin link. And the code in there is working as intended.
A screencap on peertube would convince me it does not blow my ears off.