# downsweep
**Sort a messy Downloads folder into neat folders with one command. Changed your mind? Undo it.**
  
Your Downloads folder is full of PDFs, installers, screenshots and zip files
all mixed together. downsweep sorts them into Images, PDFs, Documents,
Programs and more in a few seconds, and lets you reverse it if you don't like
the result.
## Install
pip install downsweep
## Quick start
See what would happen first. Nothing is moved:
downsweep --preview
Clean your Downloads folder:
downsweep
Changed your mind? Move everything back:
downsweep --undo
Clean any other folder:
downsweep "C:\\path\\to\\folder"
## What you will see
Moved: report.pdf -> PDFs
Moved: photo.jpg -> Images
Moved: setup.exe -> Programs
Summary
-------
PDFs 40
Programs 30
Images 12
Total 82
Done! Changed your mind? Run: downsweep --undo
## Features
| Feature | What it does |
| --- | --- |
| Preview mode | Shows what would move, changes nothing |
| Undo | Moves the last cleanup's files back where they were |
| Summary | Prints how many files went into each folder |
| Safe by design | Never overwrites a file, adds (1), (2) to duplicate names |
| Download-aware | Skips files still downloading, like .crdownload and .part |
| Zero dependencies | Only uses Python's standard library |
## Folders it creates
Images, Videos, Audio, PDFs, Documents, Archives, Programs, Code and Other.
## Good to know
- Undo reverses the **last** cleanup of a folder only.
- After a cleanup, a small file called .downsweep\_log.json is saved inside the
folder. That is how undo remembers what moved. Please don't delete it if you
want to undo.
- Only files directly inside the folder are sorted. Existing sub-folders are
left alone.
## License
MIT
Metadata
Release files for downsweep 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| downsweep-0.2.0.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| downsweep-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.3 kB
Release files / downsweep-0.2.0.tar.gz
| Download URL | downsweep-0.2.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f52bae2c0c9df6a9a7ad182fd121207960eb5aaa37f4a9a82baade4107a1614
|
|
BLAKE2b-256 checksum How to use checksums |
cba08fa50ec5c066c43be8906b7a010e510ad444ea001787c284039649215a08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / downsweep-0.2.0-py3-none-any.whl
| Download URL | downsweep-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81d00a95b2b2233a556dda39abea34542cd59b500242280abf89e72d1c3359bc
|
|
BLAKE2b-256 checksum How to use checksums |
e762ffeac5bd43b883fda0b70bb4b9a8c061da1f7258a81e5ea45ce989aa0ef1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|