Skip to main content

A Python script to organize your downloads folder by file extensions and watch for new files.

Project description

Download Organizer

A Python script to organize your downloads folder by file extensions.

Installation

[!WARNING] If you get this error: error: externally-managed-environment, run the command pip install . --break-system-packages (this may break stuff)

Using PIP

pip install download-organizer

Manual

  1. Clone the repository:

    git clone https://github.com/at-pyrix/download-organizer.git
    cd download-organizer
    
  2. Install the dependencies and the CLI tool:

    pip install .
    

Usage

dlorg

Custom Downloads Folder

If your downloads folder is different from the default (~/Downloads), update the folder variable in organizer.py to the desired path.

Folder Categories

The script sorts files into the following categories:

  • Audio: aif, cda, mid, midi, mp3, mpa, ogg, wav, wma, flac, alac, aac, m4a
  • Archive: 7z, deb, pkg, rar, rpm, tar.gz, z, zip, tar.bz2, tar.xz, gz, bz2, xz
  • Code: js, jsp, html, ipynb, py, java, css, c, cpp, cs, php, rb, rs, go, pl, r, swift, ts, sql, json, yaml, xml
  • Documents: ppt, pptx, pdf, xls, xlsx, doc, docx, txt, tex, epub, odt, ods, odp, rtf, md, csv
  • Images: bmp, gif, ico, jpeg, jpg, png, jfif, svg, tif, tiff, webp, heic, heif, raw, psd, ai, eps
  • Programs: apk, bat, bin, jar, msi, exe, appimage, run, sh
  • Videos: 3gp, avi, flv, h264, mkv, mov, mp4, mpg, mpeg, wmv, webm, vob, m4v, divx, xvid
  • Fonts: ttf, otf, woff, woff2, eot, pfa, pfb
  • Others: any other file types

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

download_organizer-1.6.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

download_organizer-1.6-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file download_organizer-1.6.tar.gz.

File metadata

  • Download URL: download_organizer-1.6.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for download_organizer-1.6.tar.gz
Algorithm Hash digest
SHA256 75dcedc5eb3f1744c0bba1375b01ee8826e63197dd17ad9b31487cba1d7318fa
MD5 e14f13e48d5e5a31fda8d7215da4a3b2
BLAKE2b-256 16465b5e97ec08c828015a7c2eb728ca79ef37ecc912e67a00be94db5f2d351b

See more details on using hashes here.

File details

Details for the file download_organizer-1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for download_organizer-1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7f000ee36b73f8a88fd78c66217fedb5a203741f8e95e7c616c6e67f409b8820
MD5 dfb46af6f87de31012b13928739c44f5
BLAKE2b-256 3007d69f1a5381a777520ebe4c14958416b62ba3249fe4e941f58caf622242c7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page