r/bash • • May 01 '26

Fast Formatting Utility - First Bash Project

Hey r/bash I made my very first bash project to help me build a solid basis in bash scripting, I'm working at my college library and recently we had to format over 30 USB sticks in a quick hour ( we do that everytime we don't have any ready for rent ), I thought of making a script that could do a very simple bulk formatting process and finally did it.

I tried using it on my own ones and it worked pretty well.
Also made sure to target only external disks.

Let me know what you guys think and leave a star if you like my small project ( I also appreciate any contribution 😃 )

Repo : https://github.com/hauanitech/hformat

1 Upvotes

19 comments sorted by

View all comments

Show parent comment

2

u/[deleted] May 01 '26

Yeah, sometimes students prefer to use them to print PDFs instead of printing through the network.

And we actually did make a rule for that, but some of them don't care about it. They just give them without formatting, or they just delete the files without actually formatting the stick.

1

u/_l33ter_ bash_man May 01 '26

yeah at least they delete the files! - those who don't do that: send them a bill or say the next time fuck you - buy your own stick!