{"id":17027314,"url":"https://github.com/alexwiench/reckless-exfat-formatter","last_synced_at":"2026-05-08T05:33:21.577Z","repository":{"id":153289666,"uuid":"338207178","full_name":"alexwiench/Reckless-exFAT-Formatter","owner":"alexwiench","description":"Reckless exFAT Formatter is a Bash script that attempts to quickly format any plugged in USB drive into exFAT. It also will write a customizable info.txt to the USB drive once finished.","archived":false,"fork":false,"pushed_at":"2021-02-16T00:43:41.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T23:36:32.368Z","etag":null,"topics":["exfat","linux","raspberry-pi"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexwiench.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-12T02:33:33.000Z","updated_at":"2021-02-16T00:43:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"3c0676fb-b23f-4967-9f29-5ded22852ce9","html_url":"https://github.com/alexwiench/Reckless-exFAT-Formatter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexwiench%2FReckless-exFAT-Formatter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexwiench%2FReckless-exFAT-Formatter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexwiench%2FReckless-exFAT-Formatter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexwiench%2FReckless-exFAT-Formatter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexwiench","download_url":"https://codeload.github.com/alexwiench/Reckless-exFAT-Formatter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245009880,"owners_count":20546590,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["exfat","linux","raspberry-pi"],"created_at":"2024-10-14T07:47:07.648Z","updated_at":"2026-05-08T05:33:21.527Z","avatar_url":"https://github.com/alexwiench.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reckless exFAT Formatter\nEver wanted to recklessly format any USB drive plugged into your Raspberry Pi into exFAT? \n\n*Now you can!*\n\nReckless exFAT Formatter is a Bash script that attempts to quickly format any plugged in USB drive into exFAT. It also will write a customizable `info.txt` to the USB drive once finished. \n\nDon't like exFAT? Reckless exFAT Formatter is easy to customize to your needs. It's literally just Bash commands. Open it up and edit the `_formatDrive()` function with the command of your choice.\n\n\n\n## How to install\n### Prerequisites\n- `exfat-fuse`\n- `exfat-utils`\n\nInstall with:\n```console\nsudo apt-get install exfat-fuse\nsudo apt-get install exfat-utils\n```\n### Setup Udev rules\nThis script is triggered by Udev. So lets create a Udev rule to detect when a USB drive is plugged in.  \n\n#### Steps\n1. Create and open the `.rules` file.\n```console\nsudo nano /etc/udev/rules.d/99-reckless-formatter.rules\n```\n\n2. Add this rule to the file. (It will be the only one there)\n```console\nACTION==\"add\", SUBSYSTEM==\"usb\", ENV{DEVTYPE}==\"usb_device\", RUN+=\"/usr/local/bin/reckless-formatter.sh\"\n```\n\n3. Save and exit Nano. \n\nPress `ctrl + x` to save.\n\nPress `y` to confirm\n\nPress `Enter` to exit.\n\n### Setup the script\nDownload `reckless-formatter.sh` and place it in `/usr/local/bin/`\n\n*For example*\n```console\nsudo mv ~/Downloads/reckless-formatter.sh /usr/local/bin/reckless-formatter.sh\n```\nYou can now customize the name and info of formatted USB sticks by editing the `_formatDrive()` and `_writeInfo()` functions. \n\n```console\nsudo nano /usr/local/bin/reckless-formatter.sh\n```\n\nOnce you're happy with your customizations you can give the script executable permissions. \n\n```console\nsudo chmod +x /usr/local/bin/reckless-formatter.sh\n```\n\nYou are now ready to recklessly format drives!\n\n## Usage\n1. Plug in USB drive.\n2. Wait between 10 and 60 seconds.\n3. Unplug the drive. \n\n\n## Other Thoughts\nRunning this script is a bad idea for most people. Unless you know that you need something specifically like this, I recommend you either create your own or use something else. \n\nCurrently there is a 5 second window of time for you to remove the drive before it is formatted. \n\nThis is **NOT** a security tool! Your data is not securely removed when using this script.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexwiench%2Freckless-exfat-formatter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexwiench%2Freckless-exfat-formatter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexwiench%2Freckless-exfat-formatter/lists"}