{"id":18338702,"url":"https://github.com/tableflip/slug-cli","last_synced_at":"2025-04-09T20:25:18.651Z","repository":{"id":35970242,"uuid":"40261265","full_name":"tableflip/slug-cli","owner":"tableflip","description":"Fix bad filenames with slugify","archived":false,"fork":false,"pushed_at":"2015-08-06T09:23:27.000Z","size":128,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-15T18:53:21.524Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tableflip.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}},"created_at":"2015-08-05T18:10:07.000Z","updated_at":"2021-10-31T04:54:23.000Z","dependencies_parsed_at":"2022-07-09T14:30:24.632Z","dependency_job_id":null,"html_url":"https://github.com/tableflip/slug-cli","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/tableflip%2Fslug-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Fslug-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Fslug-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Fslug-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tableflip","download_url":"https://codeload.github.com/tableflip/slug-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248105557,"owners_count":21048546,"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-05T20:14:54.831Z","updated_at":"2025-04-09T20:25:18.619Z","avatar_url":"https://github.com/tableflip.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# slug cli: slugify for filenames\n\nSome people don't have standards when it comes to naming files.\n\n**YOU ARE BETTER THAN THAT**\n\n`slug` renames files, turning nonsense into sense, like this:\n\n```sh\n# get slug\nnpm install -g slug\n\n# use slug\nslug 'Some_Client : BIG SCREEN layout.JPG'\n\n# be slug\nsome-client-big-screen-layout.jpg\n```\n\nGrinding all your unruly filenames into dasherized, lowercase, lower-ascii perfection.\n\n**Got a dir full of bad filenames?**\n\n```sh\nslug *\n```\n\nwill rename the lot. It'll only go one level deep, and it'll indiscriminately rename files and directories. Use with `find` for more elaborate requirements\n\n```sh\nfind . -name \"*.JPG\" -exec slug {} \\;\n```\n\nGo forth and `slug`.\n\n```\n         ___\n        /\\_ \\\n  ____  \\//\\ \\     __  __     __\n /',__\\   \\ \\ \\   /\\ \\/\\ \\  /'_ `\\\n/\\__, `\\   \\_\\ \\_ \\ \\ \\_\\ \\/\\ \\L\\ \\  \n\\/\\____/   /\\____\\ \\ \\____/\\ \\____ \\\n \\/___/    \\/____/  \\/___/  \\/___L\\ \\\n                              /\\____/\n                              \\_/__/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftableflip%2Fslug-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftableflip%2Fslug-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftableflip%2Fslug-cli/lists"}