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: 8svx, aac, ac3, aiff, amb, au, avr, caf, cdda, cvs, cvsd, cvu, dts, dvms, fap, flac, fssd, gsrt, hcom, htk, ima, ircam, m4a, m4r, maud, mp2, mp3, nist, oga, ogg, opus, paf, prc, pvf, ra, sd2, sln, smp, snd, sndr, sndt, sou, sph, spx, tta, txw, vms, voc, vox, w64, wma, wv
  • Archive: 7z, deb, pkg, rar, rpm, tar.gz, z, zip, tar.bz2, tar.xz, gz, bz2, xz
  • Code: c, class, cpp, cs, css, go, h, htaccess, html, java, js, json, kml, php, pl, py, rb, sql, swift, vb, yaml
  • Documents: csv, djvu, doc, docx, odp, ods, odt, ott, pdf, ppt, rtf, txt, xls, xlsx
  • Ebooks: azw3, epub, fb2, lrf, mobi, pdb, snb
  • Images: bmp, cr2, cur, dds, dng, erf, exr, fts, gif, hdr, heic, heif, ico, jfif, jp2, jpe, jpeg, jpg, jps, mng, nef, nrw, orf, pam, pbm, pcd, pcx, pef, pes, pfm, pgm, picon, pict, png, pnm, ppm, psd, raf, ras, rw2, sfw, sgi, svg, tga, tiff, wbmp, webp, wpg, x3f, xbm, xcf, xpm, xwd
  • Programs: apk, bin, jar, msi, exe, appimage, run
  • Videos: 3gp, asf, avi, f4v, flv, hevc, m2ts, m2v, m4v, mjpeg, mkv, mov, mp4, mpeg, mpg, mts, mxf, ogv, rm, swf, ts, vob, webm, wmv
  • Fonts: cff, dfont, otf, pfb, ps, sfd, ttf, woff
  • 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

dlorg-0.1.0.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

dlorg-0.1.0-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file dlorg-0.1.0.tar.gz.

File metadata

  • Download URL: dlorg-0.1.0.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.10.0-arch1-2

File hashes

Hashes for dlorg-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7b10b1777a6f8a670523804c39c93d3d6614b64a8d4eec03447af3c00ece952b
MD5 b2ef2c33cd20882e5772d09aae06364a
BLAKE2b-256 5a653c127b7febbfe187f1d085129620bf5e563f083023853e6865db43b2817d

See more details on using hashes here.

File details

Details for the file dlorg-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dlorg-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.10.0-arch1-2

File hashes

Hashes for dlorg-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee2501007a496db8a0ff97cfa9aca67b6169af77d655a535f4328f6afd57b0b7
MD5 3476b1d2e16235d9f91bdd0a5edea6f6
BLAKE2b-256 ffc94c72140d0f726ffbec2efec75edba19ddce8188f8bffa8c3a815bdbb3f2c

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