Skip to content

cargo clean --recursive #11305

Open
Open
@LeSnake04

Description

@LeSnake04

Problem

Many have a folder with their cargo projects that quickly becomes very big (10 GB+)

Currently users need to go into each project indiviually and run cargo clean to clear storage or use a script or tool that does it for them.

Proposed Solution

A recursive option for the clean subcommand would provide an easy native way to clean folders.

It should scan for projects in the current directory and then run the clean function on each of them.

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-cleanS-triageStatus: This issue is waiting on initial triage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions