{"id":25559784,"url":"https://github.com/codeconscious/unique-file-generator-fsharp","last_synced_at":"2026-04-28T21:32:19.242Z","repository":{"id":278344780,"uuid":"933045453","full_name":"codeconscious/unique-file-generator-fsharp","owner":"codeconscious","description":"  Create an arbitrary number of random, unique (by name and content) files. ","archived":false,"fork":false,"pushed_at":"2025-05-11T01:45:41.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-31T20:43:21.794Z","etag":null,"topics":["cli","cli-app","dotnet","fsharp","functional-programming","unique-file-generator","unique-files"],"latest_commit_sha":null,"homepage":"","language":"F#","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/codeconscious.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,"zenodo":null}},"created_at":"2025-02-15T02:45:16.000Z","updated_at":"2025-05-11T01:45:43.000Z","dependencies_parsed_at":"2025-04-04T10:23:41.911Z","dependency_job_id":"a432cc3e-e892-4122-a87c-1f555fccc157","html_url":"https://github.com/codeconscious/unique-file-generator-fsharp","commit_stats":null,"previous_names":["codeconscious/unique-file-generator-fsharp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codeconscious/unique-file-generator-fsharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeconscious%2Funique-file-generator-fsharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeconscious%2Funique-file-generator-fsharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeconscious%2Funique-file-generator-fsharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeconscious%2Funique-file-generator-fsharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeconscious","download_url":"https://codeload.github.com/codeconscious/unique-file-generator-fsharp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeconscious%2Funique-file-generator-fsharp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32400861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","cli-app","dotnet","fsharp","functional-programming","unique-file-generator","unique-files"],"created_at":"2025-02-20T17:19:55.873Z","updated_at":"2026-04-28T21:32:19.236Z","avatar_url":"https://github.com/codeconscious.png","language":"F#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unique File Generator (F# Version)\n\n- Quickly and easily create an arbitrary number of unique (by name and content) files\n- Use optional parameters to customize files according to your needs\n- Checks remaining drive space to ensure the drive is not unintentionally filled\n- Requirement: .NET 9 (or higher) runtime\n\n## But... why?\n\nIn a previous position, I had use for such a utility once to avoid unneeded warnings when testing file uploads in a system that warned about duplicate files and filenames.\n\nHowever, I only created _this_ utility to get more experience with F# and functional programming in general. (I have also written similar tools in [C#](https://github.com/codeconscious/unique-file-generator-csharp) and [Rust](https://github.com/codeconscious/unique-file-generator-rust/) before, so it seems this has become one of my go-to projects for getting experience with languages. 😅)\n\n## Usage\n\nAt the minimum, you must specify the number of files you want to generate with the default options. This should be a single positive integer (with optional commas or underscores).\n\n```sh\ndotnet run -- 1000\n```\n\n\u003e [!NOTE]\n\u003e `--` is needed after `dotnet run` to signal that the arguments are for this application and not the `dotnet` command.\n\n### Options\n\nIf desired, files can be customized via the options below. You must supply a value for each option passed.\n\nFlag | Description\n---- | :----\n-p | Prepends a specified prefix to each filename.\n-b | The base filename length. Random alphanumeric characters will be used.  The maximum is 100. If not specified, a default of 50 will be used.\n-e | The extension to append to each generated filename. The initial period is optional. If not specified, no extension will be added.\n-s | The size in bytes of each new file. Files will be populated with random alphanumeric characters. If not specified, each file will contain its own name.\n-o | The output subdirectory in which files should be created. The directory must already exist. If not specified, defaults to \"output\".\n-d | A delay in milliseconds to be applied between each file's creation.\n\n### Examples\n\n```sh\ndotnet run -- 50,000 -p Random-\n```\n\nCreates 50,000 files, each named similarly to \"Random-##########\", in a subfolder named \"output\". No files have extensions.\n\n```sh\ndotnet run -- 100 -p \"TEST \" -b 7 -e txt -o \"My Output Folder\" -s 1000000 -d 1000\n```\n\nCreates 100 1MB files, each named similarly to \"TEST #######.txt\", with a 1-second break between each file's creation, in a subfolder called \"My Output Folder\".\n\n```sh\ndotnet run -- --help\n```\n\nSee the in-program instructions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeconscious%2Funique-file-generator-fsharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeconscious%2Funique-file-generator-fsharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeconscious%2Funique-file-generator-fsharp/lists"}