Skip to content

Better Prune Interface #25

@mcmah309

Description

@mcmah309

I think something like

gtrash prune --size 0

is redundant. Especially since you are also prompted if you are sure.

gtrash prune

Should be enough to just delete everything.

If we want to be even more explicit, we could change the prune command to require a glob.

gtrash prune *
gtrash prune * --size 1GB

This would also make it more powerful. Example case - yesterday I deleted a whole folder and now I know I don't need it anymore, but there are still other files I may need so --day and --size do not work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions