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-runto preview actions - Review audit table of source paths, target categories, and planned actions
- Execute
npx cleandropto perform the organization - If needed, run
npx cleandrop --undoto 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