Skip to content

neocrev/junksweep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

junksweep

Find out how much of your disk is node_modules and __pycache__. Then clean it up.

PyPI License

junksweep in action


Quick start

pip install junksweep

# Scan current directory
junksweep

# Scan + prompt to delete
junksweep ~/projects --clean

Usage

# Scan a specific path
junksweep ~/projects

# Don't actually delete
junksweep --dry-run

# Dig deeper
junksweep --depth 5

# Only show big stuff (>= 50MB)
junksweep --min-size 50

# Machine-readable output
junksweep --json

What it detects

node_modules, __pycache__, .git, .next, build, dist, target, Pods, .gradle, vendor/bundle, elm-stuff, .tox, .mypy_cache, .ruff_cache — and about 20 more.

Python 3.8+, no dependencies.


License

MIT

About

One command to find every node_modules on your disk. One prompt to clean it up.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages