{"id":18754122,"url":"https://github.com/simplyceo/dwrite","last_synced_at":"2026-06-18T21:31:48.367Z","repository":{"id":119152520,"uuid":"245945748","full_name":"SimplyCEO/dwrite","owner":"SimplyCEO","description":"C script to write or flash a bootable device.","archived":false,"fork":false,"pushed_at":"2021-02-17T00:46:51.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-20T12:53:50.163Z","etag":null,"topics":["bootable-media","c","flash","format"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SimplyCEO.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-03-09T04:44:27.000Z","updated_at":"2021-02-17T00:46:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee593e94-ceb9-48b6-a496-d7e09d7dd78d","html_url":"https://github.com/SimplyCEO/dwrite","commit_stats":null,"previous_names":["simplyceo/dwrite"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SimplyCEO/dwrite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplyCEO%2Fdwrite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplyCEO%2Fdwrite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplyCEO%2Fdwrite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplyCEO%2Fdwrite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimplyCEO","download_url":"https://codeload.github.com/SimplyCEO/dwrite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplyCEO%2Fdwrite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34508862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bootable-media","c","flash","format"],"created_at":"2024-11-07T17:28:05.625Z","updated_at":"2026-06-18T21:31:48.340Z","avatar_url":"https://github.com/SimplyCEO.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dwrite\nShell script to format \u0026amp; write or flash a bootable device.\n\nUsage:\n\nFirst compile to run this script:\n```shell\n$ gcc dwrite.c -o dwrite; ./dwrite -h\n```\n\n## INFORMATION ##\n\n-h: prints the help option.\n\n-c: check devices.\n\n-o: the path of the device.\n\n-i: the ISO image.\n\n-v: show the version of the script.\n\n-F: format tables.(FAT32/EXT4/NTFS/ZERO)\n\n## TO FORMAT THE DEVICE ##\n\nUse the device path and the format that you desire to write:\n  ```shell\n$ ./dwrite -o /dev/sdx -F EXT4\n  ```\n\n## TO FLASH A IMAGE TO THE DEVICE ##\n\nUse the ISO path and device flags:\n```shell\n$ ./dwrite -o /dev/sdx -i /path/of/the.iso\n```\n\nUse the main partition to describe it. The script will automatically write in the correct table.\n\nExample: /dev/sdb | /dev/sdc | /dev/sde...\n\n## NOTE ##\n\nYou can also use it without enter in the folder where the script is:\n```shell\n$ mv dwrite /usr/local/sbin/dwrite\n$ dwrite\n```\nOr as a ROOT:\n```shell\n# mv dwrite /usr/sbin/dwrite\n# dwrite\n```\n\nThis script have implemented sudo, because to write partitions you need to have the administrator's authority.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplyceo%2Fdwrite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplyceo%2Fdwrite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplyceo%2Fdwrite/lists"}