Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

How I Built CleanDrop: A Safe, Zero-Dependency CLI to Tame Your Downloads Folder

说明与用途

CleanDrop 是一个安全的 CLI,自动整理 Downloads 文件夹,支持预览、撤销和防止覆盖。

问题

Developers’ Downloads folders become chaotic with screenshots, PDFs, archives, and binaries, making file retrieval difficult and risking accidental deletion or overwrite.

结果

CleanDrop organizes Downloads into Documents, Images, Archives, Code & Data, and Media folders, prevents accidental overwrites, logs actions for undo, and requires no heavy dependencies.

工作流

  • Run npx cleandrop --dry-run to preview actions
  • Review audit table of source paths, target categories, and planned actions
  • Execute npx cleandrop to perform the organization
  • If needed, run npx cleandrop --undo to revert the last batch

证据

CleanDrop logs batch actions to a local history journal. If you run a sort and realize you wanted to keep certain files in place, you can reverse the operation with a single command: npx cleandrop --undo

来源

  • 记录日期: 2026-09-22T15:00:46.830Z