{"id":18887494,"url":"https://github.com/pdrb/nim-fwrite","last_synced_at":"2026-02-24T07:30:18.783Z","repository":{"id":83850418,"uuid":"211983922","full_name":"pdrb/nim-fwrite","owner":"pdrb","description":"Create files of the desired size","archived":false,"fork":false,"pushed_at":"2019-10-09T21:43:16.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-31T05:23:57.632Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nim","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/pdrb.png","metadata":{"files":{"readme":"README.rst","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":"2019-10-01T00:33:07.000Z","updated_at":"2019-10-09T21:43:17.000Z","dependencies_parsed_at":"2023-05-17T06:17:34.184Z","dependency_job_id":null,"html_url":"https://github.com/pdrb/nim-fwrite","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdrb%2Fnim-fwrite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdrb%2Fnim-fwrite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdrb%2Fnim-fwrite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdrb%2Fnim-fwrite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pdrb","download_url":"https://codeload.github.com/pdrb/nim-fwrite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239859562,"owners_count":19708863,"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":[],"created_at":"2024-11-08T07:38:04.101Z","updated_at":"2026-02-24T07:30:18.742Z","avatar_url":"https://github.com/pdrb.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"fwrite\n======\n\nCreate files of the desired size.\n\nA Python version is `also available \u003chttps://github.com/pdrb/fwrite\u003e`_.\n\nSimple example::\n\n    $ fwrite testfile 100M\n\n\nInstall\n=======\n\n**Using nimble**::\n\n    $ nimble install fwrite\n\n**Using nim compiler**:\n\nSince only the standard library is used, just download the single source code\nfile and compile it::\n\n    $ wget https://raw.githubusercontent.com/pdrb/nim-fwrite/master/src/fwrite.nim\n    $ nim c -d:release fwrite.nim\n\n\nUsage\n=====\n\n::\n\n    Usage: fwrite filename size [options]\n\n    create files of the desired size, e.g., 'fwrite test 10M'\n\n    Options:\n      -v, --version     show program's version number and exit\n      -h, --help        show this help message and exit\n      -r, --random      use random data (very slow)\n      -l, --linefeed    append line feed every 1023 bytes\n\n\nExamples\n========\n\nCreate file \"test\" with 100KB::\n\n    $ fwrite test 100K\n\nCreate file \"test\" with 1GB::\n\n    $ fwrite test 1G\n\nCreate file \"test\" with 10MB of random data::\n\n    $ fwrite test 10M -r\n\nCreate file \"test\" with 10MB of random data with line feed::\n\n    $ fwrite test 10M -r -n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdrb%2Fnim-fwrite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpdrb%2Fnim-fwrite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdrb%2Fnim-fwrite/lists"}