{"id":25541057,"url":"https://github.com/rustydaemon/net-binobj-cleaner","last_synced_at":"2025-06-30T01:33:42.102Z","repository":{"id":245924219,"uuid":"819120818","full_name":"RustyDaemon/net-binobj-cleaner","owner":"RustyDaemon","description":"Clean up bin and obj directories in .NET projects efficiently with this Rust utility.","archived":false,"fork":false,"pushed_at":"2024-07-26T18:48:08.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T03:39:28.885Z","etag":null,"topics":["bin-obj-cleaner","cleaner","dotnet","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RustyDaemon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-06-23T20:47:44.000Z","updated_at":"2024-07-26T18:48:11.000Z","dependencies_parsed_at":"2024-06-24T21:25:40.758Z","dependency_job_id":"022093a8-affc-4051-91b3-d474cde53410","html_url":"https://github.com/RustyDaemon/net-binobj-cleaner","commit_stats":null,"previous_names":["rustamirzaev/net-binobj-cleaner","rustydaemon/net-binobj-cleaner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RustyDaemon/net-binobj-cleaner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RustyDaemon%2Fnet-binobj-cleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RustyDaemon%2Fnet-binobj-cleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RustyDaemon%2Fnet-binobj-cleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RustyDaemon%2Fnet-binobj-cleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RustyDaemon","download_url":"https://codeload.github.com/RustyDaemon/net-binobj-cleaner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RustyDaemon%2Fnet-binobj-cleaner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262693371,"owners_count":23349725,"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":["bin-obj-cleaner","cleaner","dotnet","rust"],"created_at":"2025-02-20T06:28:56.800Z","updated_at":"2025-06-30T01:33:42.075Z","avatar_url":"https://github.com/RustyDaemon.png","language":"Rust","readme":"# .NET Project Cleaner (net-binobj-cleaner)\n\n## Overview\n\nThis is a command-line utility written in Rust for developers working on .NET projects. It helps to clean up unnecessary `bin` and `obj` directories recursively within a specified .NET project directory, providing detailed information before performing any deletions.\n\n## Features\n\n- Recursively scans for `.csproj` files within a specified directory.\n- Collects and displays information about the `bin` and `obj` directories for each project, including the number of files and total disk space used.\n- Lists all files to be deleted, sorted alphabetically.\n- Prompts for user confirmation before deleting the bin and obj directories.\n- Supports configurable maximum depth for directory scanning.\n\n## Prerequisites\n\n**Rust**. Ensure that Rust is installed on your system. You can install Rust from [rust-lang.org](https://rust-lang.org).\n\n## Building the Project\n\nClone the repository and build the project:\n\n```bash\ngit clone https://github.com/RustamIrzaev/net-binobj-cleaner.git\ncd net-binobj-cleaner\ncargo build --release\n\ncd target/release\n\n# Run the application\n./net-binobj-cleaner -f \u003cFOLDER\u003e\n```\n\n### Parameters\n\n- `-f` or `--folder` (required): Path to the .NET project directory.\n- `--max-depth` (optional): Maximum depth for directory scanning. Default is 50.\n\n## Example output\n\n```markdown\nProject: MyProject\n/bin (4 files, 17 Kb):\n- MyProject.dll\n- MyProject.deps.json\n- MyProject.pdb\n- MyProject.runtimeconfig.json\n/obj (5 files, 18 Kb):\n- MyProject.AssemblyInfo.cs\n- MyProject.AssemblyInfoInputs.cache\n- MyProject.dll\n- MyProject.genruntimeconfig.cache\n- MyProject.pdb\n\nDo you want to delete these directories? (yes/no)\n...\n```\n\n## Important Notes\n\nUse with care! This utility deletes files and directories permanently. Make sure to back up your data before running the application.\n\n## License\n\nThis project is licensed under the Apache License 2.0. See the [LICENSE](LICENSE.md) file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustydaemon%2Fnet-binobj-cleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frustydaemon%2Fnet-binobj-cleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustydaemon%2Fnet-binobj-cleaner/lists"}