{"id":18927795,"url":"https://github.com/chibby0ne/spaces_to_underscores","last_synced_at":"2026-04-24T23:31:21.537Z","repository":{"id":71230363,"uuid":"126609118","full_name":"chibby0ne/spaces_to_underscores","owner":"chibby0ne","description":"Simple bash script that replaces filenames' whitespaces for underscores","archived":false,"fork":false,"pushed_at":"2018-03-24T15:32:12.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-19T14:51:55.548Z","etag":null,"topics":["bash","script","underscore","whitespaces"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/chibby0ne.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":"2018-03-24T14:47:39.000Z","updated_at":"2018-03-24T15:32:13.000Z","dependencies_parsed_at":"2023-04-04T23:21:58.487Z","dependency_job_id":null,"html_url":"https://github.com/chibby0ne/spaces_to_underscores","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chibby0ne/spaces_to_underscores","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chibby0ne%2Fspaces_to_underscores","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chibby0ne%2Fspaces_to_underscores/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chibby0ne%2Fspaces_to_underscores/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chibby0ne%2Fspaces_to_underscores/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chibby0ne","download_url":"https://codeload.github.com/chibby0ne/spaces_to_underscores/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chibby0ne%2Fspaces_to_underscores/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32244995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"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":["bash","script","underscore","whitespaces"],"created_at":"2024-11-08T11:20:40.382Z","updated_at":"2026-04-24T23:31:21.522Z","avatar_url":"https://github.com/chibby0ne.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spaces to Underscores \n\nFound myself fighting with the escaped spaces in the shell, one to many times.\n\nRenames files in the given directory, by replacing groups of adjacent whitespaces with an underscore (\\_).\n\n# Usage\n\nWhen it finds something to rename:\n\n```\nmeeseeks@home:~/test_dir $ ./spaces_to_underscores.sh .\nChanged a dir to a_dir\nChanged a  file to a_file\n```\n\nWhen it doesn't find something to rename:\n\n```\nmeeseeks@home:~/test_dir $ ./spaces_to_underscores.sh .\nNo files with spaces. No files renamed.\n```\n\nWhen the given directory is not searchable by the current user:\n\n```\nmeeseeks@home:~/test_dir $ ./spaces_to_underscores.sh .\nNo files with spaces. No files renamed.\n```\n\n```\nmeeseeks@home:~/test_dir $ ./spaces_to_underscores.sh .\nCannot search root_dir directory. Check directory permissions.\n```\n\n## License \n\nMIT \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchibby0ne%2Fspaces_to_underscores","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchibby0ne%2Fspaces_to_underscores","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchibby0ne%2Fspaces_to_underscores/lists"}