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
-
Clone the repository:
git clone https://github.com/at-pyrix/dlorg.git cd dlorg
-
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-1.0.tar.gz
(15.7 kB
view details)
Built Distribution
dlorg-1.0-py3-none-any.whl
(16.2 kB
view details)
File details
Details for the file dlorg-1.0.tar.gz
.
File metadata
- Download URL: dlorg-1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8536bec08496d1c7b8f8d084a07434a62aff1ee34ab267f885b48d9541c18891 |
|
MD5 | 417299a24ce228a66c8852aab8a896bb |
|
BLAKE2b-256 | eeb4d079433068f38532b1d2036c1536752563fdd55721ea0708dafeb0395256 |
File details
Details for the file dlorg-1.0-py3-none-any.whl
.
File metadata
- Download URL: dlorg-1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 787541b9458e7a666032e9e2227574fa566caecd2761ea46d033696b9876cfab |
|
MD5 | 0e10a53693f1f3fb520534608e9d7ecb |
|
BLAKE2b-256 | e94e93fd65ac27663054ffcd60af5a934d52bd06b80b84a7c05b2eb52151e200 |