Skip to main content

Opinionated junk cleaner for dev machines (caches, build artifacts, editor backups).

Project description

License Language GitHub Release PyPI - Version Build Status PyPI downloads

filedust

filedust is a small, fast, and safe command-line tool that scans your filesystem for obvious junk — things like Python pycache folders, build artifacts, editor backup files, and leftover temporary files — and cleans them up.

Think of it as “autoremove for files.”

Features

Cleans common junk

Deletes well-known clutter such as:

  • __pycache__/

  • .pytest_cache, .mypy_cache, .ruff_cache

  • build/, dist/

  • editor backups *~, *.swp, *.tmp, etc.

  • OS metadata like .DS_Store, Thumbs.db

Rich, colorful table output

It wasn't essential, but it's easy to read at a glance.

Single confirmation prompt

One interactive prompt at the end of the run (unless -y is used).

Reclaimed space summary

Shows how much disk space can be freed.

Safe by design

Never touches dotfiles, configs, project files, or anything important.

Installation

From PyPI

pip install filedust

From this repository

git clone https://github.com/mdaleo404/filedust.git
cd filedust/
poetry install

TAB completion

Add this to your .bashrc

eval "$(register-python-argcomplete filedust)"

And then

source ~/.bashrc

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

filedust-0.2.0.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

filedust-0.2.0-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file filedust-0.2.0.tar.gz.

File metadata

  • Download URL: filedust-0.2.0.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.9 Linux/6.17.8-200.fc42.x86_64

File hashes

Hashes for filedust-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f4b27d01d661b1c4a9796976bd522b0ead9a6bfb91b2fdcd868faee9d19c1643
MD5 a9f9a1fc859d2f40f4188fb4b26a539a
BLAKE2b-256 6dead87a26a76cf476b22b9cdd97898eab18ac07630394436c5bcf85fe2f50fc

See more details on using hashes here.

File details

Details for the file filedust-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: filedust-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.9 Linux/6.17.8-200.fc42.x86_64

File hashes

Hashes for filedust-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a772e2a78f84f927656ac0ad2d0a1850206a47b13d70e8368ea656e93c7a0f9
MD5 8adc2268953db5f1e5e19a7b55aa6aa6
BLAKE2b-256 43e5c97adfc7cbc687b2e496237ef5ac318b87489b865f7828566d0129291b6f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page