📁 Organizarquivo
Sua pasta está uma bagunça? Deixa que ele organiza.
Organizarquivo é uma CLI em Python que move arquivos para pastas por tipo, com desfazer, preview e categorias customizáveis.
Instalação
pip install organizarquivo
Uso básico
organizarquivo ~/Downloads
Ele pergunta antes de mover. Use --dry-run para ver o que faria sem
consequências.
Comandos
organizarquivo <pasta> # organiza a pasta
organizarquivo <pasta> -y # organiza sem confirmar
organizarquivo <pasta> --dry-run # mostra o que faria
organizarquivo <pasta> -r # inclui subpastas
organizarquivo <pasta> --stats # mostra estatísticas ao final
organizarquivo undo # desfaz a última operação
organizarquivo undo --list # lista operações recentes
Categorias
| Pasta | Exemplos |
|---|---|
| Documents | .pdf .docx .md .odt |
| Spreadsheets | .xlsx .csv .ods |
| Presentations | .pptx .key .odp |
| Images | .jpg .png .svg .heic .avif |
| Videos | .mp4 .mkv .webm .avi |
| Audios | .mp3 .flac .m4a .opus |
| Archives | .zip .rar .7z .tar.gz .zst |
| Code | .py .js .ts .cs .rs .go .html .css |
| Books | .epub .mobi .azw3 .djvu |
| Fonts | .ttf .otf .woff2 |
| 3D | .blend .obj .fbx .gltf |
| Design | .psd .ai .sketch .fig |
| Executables | .exe .msi .deb .rpm .dmg |
| Databases | .sqlite .db .mdb |
| Others | o resto |
Desfazer
Cada execução grava um histórico em ~/.cache/organizarquivo/history/.
Se algo foi para o lugar errado:
organizarquivo undo
Reverte a última operação. Se um arquivo sumiu ou o local de origem já está ocupado, o undo reporta a falha para aquele arquivo sem abortar os outros.
Configuração
Crie ~/.organizarquivo.toml:
[categories]
"Trabalho" = [".docx", ".xlsx", ".pptx"]
"Projetos" = [".blend", ".obj", ".fbx"]
[exclude]
patterns = ["*.tmp", "*.bak", "~*"]
directories = ["Important", "Keep"]
[behavior]
confirm = true
Categorias customizadas substituem categorias de mesmo nome. Exclusões se somam às da CLI.
Segurança
- Não mexe em
.git,.venv,node_modules,__pycache__,target,build,diste outras pastas de infraestrutura. - Sem
--recursive, só mexe na raiz da pasta alvo. Subpastas preservadas. - Arquivos com mesmo nome não se sobrescrevem: viram
foto (1).jpg. --dry-runpara ver antes sem consequências.
Requisitos
- Python 3.9+ (3.11+ sem dependências extras; 3.9 e 3.10 usam
tomli)
Licença
MIT
Metadata
Release files for organizarquivo 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 | Provenance | Actions |
|---|---|---|---|---|
| organizarquivo-0.2.0.tar.gz | 20.3 kB | Without provenance | Details for organizarquivo-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| organizarquivo-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for organizarquivo-0.2.0-py3-none-any.whl |
Total release size: 36.0 kB
Release files / organizarquivo-0.2.0.tar.gz
| Download URL | organizarquivo-0.2.0.tar.gz |
|---|---|
| Size | 20.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b68dcd5e6d0f6ffd8254208abd8093002843ae131373d60309fefdf3ff6b73b7
|
|
BLAKE2b-256 checksum How to use checksums |
e90b717f52ad4f11083339a29de744dbab7d01b4993acc044eedaf383319bec1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / organizarquivo-0.2.0-py3-none-any.whl
| Download URL | organizarquivo-0.2.0-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
05cdb001c0c0dfb0a6620629f8b49b7fed455e46434cee02ce03a5f7a1687d73
|
|
BLAKE2b-256 checksum How to use checksums |
b9a216e51574ac91dd3e8cd36b7539d7a0eae1a214bcae8a27d819de22cc3f61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for organizarquivo 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.