{"id":15957565,"url":"https://github.com/benapetr/freename","last_synced_at":"2026-06-12T23:33:42.493Z","repository":{"id":145671824,"uuid":"219612916","full_name":"benapetr/freename","owner":"benapetr","description":"freename utility to find a free name for a new file","archived":false,"fork":false,"pushed_at":"2019-11-06T20:15:09.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T11:43:02.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/benapetr.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":"2019-11-04T23:01:16.000Z","updated_at":"2019-11-06T20:15:11.000Z","dependencies_parsed_at":"2023-06-17T15:33:57.093Z","dependency_job_id":null,"html_url":"https://github.com/benapetr/freename","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/benapetr/freename","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benapetr%2Ffreename","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benapetr%2Ffreename/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benapetr%2Ffreename/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benapetr%2Ffreename/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benapetr","download_url":"https://codeload.github.com/benapetr/freename/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benapetr%2Ffreename/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34266915,"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-12T02:00:06.859Z","response_time":109,"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":[],"created_at":"2024-10-07T14:00:22.782Z","updated_at":"2026-06-12T23:33:42.468Z","avatar_url":"https://github.com/benapetr.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"freename\n===========\n\nThis is an extremely simple and fast C utility written for UNIX,\nits purpose is to quickly find an available file name for use in\nshell scripts and so on.\n\nIt's a faster replacement for alternative hack in shell script,\nwhich is aimed to be more flexible in the future.\n\nBasic usage is to provide a filename as an argument with optional\nstring(s) `$counter` that will be replaced with an actual counter.\n\nIf counter variable is not provided, filename has .$counter appended.\n\nExamples:\n```\n# No files \"x\" exist:\n$ ./freename x\nx\n$ touch x\n$ ./freename x\nx.0\n$ touch x.0\n$ ./freename x\nx.1\n$ touch `./freename x`\n$ touch `./freename x`\n$ ./freename x\nx.3\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenapetr%2Ffreename","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenapetr%2Ffreename","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenapetr%2Ffreename/lists"}