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

Using pipx (recommended ✅)

pipx install dlorg

Using pip

pip install dlorg

Manual

  1. Clone the repository:

    git clone https://github.com/at-pyrix/dlorg.git
    cd dlorg
    
  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 dlorg.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-2.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

dlorg-2.0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dlorg-2.0.tar.gz
  • Upload date:
  • Size: 15.7 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-2.0.tar.gz
Algorithm Hash digest
SHA256 407f84827150e1eeaad91f0142583a27d33e18110c3b1d27ac98d9c8b3d4da6b
MD5 e1e09cab3ae20bd365571a6d164276d7
BLAKE2b-256 c0f6c8be6693d4dd5ebcfd2dd72d77bcb6791bcaa6225b1e3e29ac73d653b8fe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dlorg-2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.2 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-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4603e79827b2ea1bec08e15d347d47656793f14799d289d80e730721feab7b57
MD5 8dad9108b6385356eb31c0375b79163a
BLAKE2b-256 1455025a5fea66392f08b1dc0d1e69d950616d668893c7a38c11cdf68451c20f

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