๐ฌ๐ง English | ๐ฎ๐น Italiano | ๐ Security | ๐ License
Automatic Download folder organizer for Linux, macOS and Windows.
The script runs in the background every 3 hours and sorts downloaded files into organized subfolders by type, with no manual intervention needed.
Every 3 hours the script automatically performs these operations:
- Takes new files from the Download folder and puts them in
001__Recent/Today/ - After 1 day, moves them to
001__Recent/This-Week/ - After 7 days, sorts them into the right folder based on type (PDF, images, video, etc.)
- After 30 days, deletes unknown files left in
008__Temporary/
In practice: you have 7 days to find recent files in 001__Recent/, then they are automatically archived into the correct category.
After installation, the Download folder is organized like this:
Downloads/
โโโ 001__Recent/
โ โโโ Today/ โ files downloaded in the last 24 hours
โ โโโ This-Week/ โ files from 1 to 7 days old
โ
โโโ 002__Data/
โ โโโ CSV/ โ .csv, .tsv
โ โโโ Excel/ โ .xlsx, .xls, .ods
โ โโโ JSON/ โ .jsonl, .ndjson
โ โโโ Database/ โ .sql, .db, .sqlite
โ โโโ Parquet/ โ .parquet, .feather, .arrow
โ โโโ Other-Formats/ โ .xml, .avro, .hdf5
โ
โโโ 003__Documents/
โ โโโ PDF/ โ .pdf
โ โโโ Word/ โ .doc, .docx, .odt
โ โโโ Presentations/ โ .ppt, .pptx, .odp, .key
โ โโโ Text/ โ .txt, .md
โ โโโ Ebook/ โ .epub, .mobi
โ
โโโ 004__Media/
โ โโโ Images/ โ .jpg, .png, .gif, .svg, .webp, .heic
โ โโโ Video/ โ .mp4, .avi, .mkv, .mov
โ โโโ Audio/ โ .mp3, .wav, .flac, .ogg
โ โโโ Diagrams/ โ .drawio, .puml
โ
โโโ 005__Development/
โ โโโ Code/ โ .py, .js, .ts, .java, .cpp, .swift
โ โโโ Notebooks/ โ .ipynb
โ โโโ Config/ โ .json, .yaml, .toml, .env
โ โโโ Repository/ โ .zip/.tar.gz with names like "v1.0", "main"
โ โโโ Package/ โ .whl, .jar, .deb, .rpm
โ
โโโ 006__Software/
โ โโโ Installers/ โ OS-specific formats (see below)
โ โโโ Archives/ โ .zip, .rar, .7z, .tar.gz
โ โโโ Docker/ โ Dockerfile, docker-compose.yml
โ โโโ Scripts/ โ .sh, .bat, .ps1
โ
โโโ 007__Work/
โ โโโ Invoices/ โ files with "invoice" or "receipt" in the name
โ โโโ Contracts/ โ files with "contract" or "agreement" in the name
โ โโโ Quotes/ โ files with "quote" or "estimate" in the name
โ โโโ Other-Documents/
โ
โโโ 008__Temporary/ โ files with unknown extension
(automatically deleted after 30 days)
Folders are numbered (001__, 002__, etc.) to always appear in the same order in the file manager.
- Multi-language support: folder names, messages and recognition keywords adapt to the language chosen during installation (Italiano, English, Espaรฑol, Franรงais, Deutsch, Portuguรชs)
- No files are overwritten: if a file with the same name already exists, a numeric suffix is added (
document_1.pdf,document_2.pdf, etc.) - In-progress downloads are not touched:
.part,.crdownloadand.downloadfiles are ignored - Work documents recognized automatically: invoices, contracts and quotes are identified by filename and sorted into
007__Work/(keywords change based on the chosen language) - Test mode (DRY RUN): you can see what the script would do without moving anything
- Detailed log: every operation is recorded in a log file for reference
- Folder migration: if you change language by reinstalling, existing folders are automatically renamed
Each folder contains the scripts and a step-by-step guide designed for non-technical users.
| Operating system | Folder | Main script | Guide |
|---|---|---|---|
| Linux (Ubuntu, Fedora, Debian, Mint, etc.) | linux/ |
organize_downloads.sh (bash) |
linux/README.md |
| macOS (10.15 Catalina or later) | macOS/ |
organize_downloads.sh (bash) |
macOS/README.md |
| Windows (10 and 11) | windows/ |
Organize-Downloads.ps1 (PowerShell) |
windows/README.md |
- Download the files from the folder corresponding to your operating system
- Open the guide (
README.md) inside that folder and follow the step-by-step instructions - Run the installation script (
install.shon Linux/macOS,Install-Windows.ps1on Windows) - Choose the language when prompted (Italiano, English, Espaรฑol, Franรงais, Deutsch, Portuguรชs)
- Confirm automatic activation when prompted
Installation takes a few minutes. Afterwards, the script runs on its own in the background with no further action needed.
| Code | Language | Folder example |
|---|---|---|
it |
Italiano (default) | 001__Recenti/Oggi |
en |
English | 001__Recent/Today |
es |
Espaรฑol | 001__Recientes/Hoy |
fr |
Franรงais | 001__Recents/Aujourd-hui |
de |
Deutsch | 001__Neueste/Heute |
pt |
Portuguรชs | 001__Recentes/Hoje |
To change language after installation, simply re-run the installation script and choose a new language. Existing folders are automatically renamed.
The three versions are functionally identical: same folder structure, same categorization logic, same behavior. The differences only concern OS-specific adaptation.
- Language: Bash
- Automation: cron job (
crontab) - Recognized installers:
.appimage,.deb,.snap,.flatpak - Default path:
$HOME/Download(change if your folder has a different name, e.g.ScaricatiorDownloads)
- Language: Bash (compatible with bash 3.2+)
- Automation: cron job (
crontab) - Recognized installers:
.dmg,.pkg,.app - Default path:
$HOME/Downloads - Important note: you need to grant Full Disk Access to
cronin System Settings, otherwise the script won't be able to access the Download folder when running automatically. The guide explains how.
- Language: PowerShell
- Automation: Task Scheduler
- Recognized installers:
.exe,.msi,.appx,.msix - Default path:
$env:USERPROFILE\Downloads - Note: you may need to enable PowerShell script execution. The guide explains how.
Are files deleted?
No. Files are only moved into subfolders. The only exception is the 008__Temporary/ folder: files with unknown extensions that remain there for over 30 days are deleted.
Can I manually move files between folders? Yes, you can move files as you like. The script doesn't touch files that are already inside the subfolders.
Does the script slow down the computer? No. It runs for a few seconds every 3 hours and doesn't consume resources.
Can I change the execution frequency? Yes. Each specific guide explains how to modify the interval (every hour, every 6 hours, once a day, etc.).
Can I use it on multiple operating systems at the same time? Yes. Each version is independent and can be installed separately on each computer.
download_organizer/
โโโ README.md โ general guide (English)
โโโ README.it.md โ general guide (Italian)
โโโ LICENSE.md โ MIT license
โโโ .gitignore
โโโ linux/
โ โโโ organize_downloads.sh โ main script (bash)
โ โโโ install.sh โ automatic installation
โ โโโ lang/ โ language files (it, en, es, fr, de, pt)
โ โโโ README.md โ step-by-step guide for Linux (English)
โ โโโ README.it.md โ step-by-step guide for Linux (Italian)
โโโ macOS/
โ โโโ organize_downloads.sh โ main script (bash)
โ โโโ install.sh โ automatic installation
โ โโโ lang/ โ language files (it, en, es, fr, de, pt)
โ โโโ README.md โ step-by-step guide for macOS (English)
โ โโโ README.it.md โ step-by-step guide for macOS (Italian)
โโโ windows/
โโโ Organize-Downloads.ps1 โ main script (PowerShell)
โโโ Install-Windows.ps1 โ automatic installation
โโโ lang/ โ language files (it, en, es, fr, de, pt)
โโโ README.md โ step-by-step guide for Windows (English)
โโโ README.it.md โ step-by-step guide for Windows (Italian)