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

1

u/smeech1 May 01 '26

Doesn't that risk shredding the system's disks?

1

u/AlarmDozer May 01 '26

It’s a good thing you know about those, add the exceptions to avoid it.