matoken:susie:

@matoken@snac.matoken.org

Linux user.
Site: ✔ https://matoken.org/
Blog: https://matoken.org/blog/
GPG Key: 572E532C

Location: 31.2,130.8

0 ★ 0 ↺

[?]matoken:susie: » 🌐
@matoken@snac.matoken.org

Dドライブが埋まったので、rmではなく公式cleanコマンドだけで50GB戻した https://zenn.dev/ishizakahiroshi/articles/20260927-dev-cache-cleanup
cargoは散らばっているのでお掃除ツールが色々あったり

$ cargo clean-all -i ~/src
Computing size of target/ for project
Ignoring the following project directories:

Selected the following project directories for cleaning:
cyme: 258.58 MB (2023-01-07 05:07), /home/matoken/src/cyme
i3status-rust: 831.45 MB (2023-01-17 06:14), /home/matoken/src/i3status-rust
presenterm: 838.23 MB (2025-04-05 05:33), /home/matoken/src/presenterm
concord: 1.86 GB (2026-05-22 07:24), /home/matoken/src/concord
tracker: 1.95 GB (2026-06-15 18:27), /home/matoken/src/tracker
Linkal: 2.04 GB (2024-02-04 04:27), /home/matoken/src/Linkal

Selected 6/6 projects, cleaning will free: 7.77 GB. Keeping: 0 B
Clean the project directories shown above? yes
Starting cleanup...


Projects cleaned. Reclaimed 7.77 GB of disk space

dnlmlr/cargo-clean-all: Fast recursive detection and cleaning of rust projects with interactive TUI and filters. Find rust projects anywhere that meet conditions like "last used more than 3 days ago" or "freable size > 1GB" and then clean them in record time https://github.com/dnlmlr/cargo-clean-all

History