{"id":22380067,"url":"https://github.com/mendel5/find-characters","last_synced_at":"2026-01-06T05:52:45.788Z","repository":{"id":265248559,"uuid":"895578708","full_name":"mendel5/find-characters","owner":"mendel5","description":"How to find files with \"forbidden\" characters in their names on a Linux system. Forbidden characters could be non-printable or non-ASCII characters.","archived":false,"fork":false,"pushed_at":"2024-11-28T19:40:25.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T00:45:40.600Z","etag":null,"topics":["allowlist","character","characters","find","forbidden","letter","search"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mendel5.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":"2024-11-28T13:23:34.000Z","updated_at":"2024-11-28T19:40:28.000Z","dependencies_parsed_at":"2024-11-28T14:30:45.380Z","dependency_job_id":"a74db8b2-6dab-4d50-abe8-a9954df9946a","html_url":"https://github.com/mendel5/find-characters","commit_stats":null,"previous_names":["mendel5/find-characters"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendel5%2Ffind-characters","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendel5%2Ffind-characters/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendel5%2Ffind-characters/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendel5%2Ffind-characters/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mendel5","download_url":"https://codeload.github.com/mendel5/find-characters/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245718784,"owners_count":20661161,"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":["allowlist","character","characters","find","forbidden","letter","search"],"created_at":"2024-12-04T23:12:41.522Z","updated_at":"2026-01-06T05:52:45.783Z","avatar_url":"https://github.com/mendel5.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# find-characters\nHow to find files with \"forbidden\" characters in their names on a Linux system. Forbidden characters could be non-printable or non-ASCII characters.\n\n## Part A\nCopy and paste these commands in the Linux Terminal.\n\n### Part 1\n```\nLC_COLLATE=C find . -name '*[! -~]*'\n\nThe \"forbidden\" characters are returned as they are.\n```\n\n### Part 2\n```\nLC_ALL=C find . -name '*[! -~]*'\n\nThe \"forbidden\" characters are returned as questions marks, e.g., \"??\".\n```\n\n```\nLC_ALL=C find . -name '*[![:print:]]*'\n\nThis might not work as well as the two other ones.\n```\n\nSources:\n- https://www.baeldung.com/linux/find-special-character-filenames\n\n## Part B\nAnother good idea could be to list all filenames with a command like `tree`, then save this output to a file, then analyze this file with another command.\nWhen it is done like this, the file system does not have to be scanned so frequently because scanning the whole filesystem takes a lot of time.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmendel5%2Ffind-characters","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmendel5%2Ffind-characters","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmendel5%2Ffind-characters/lists"}