A file sorting magician in your command line. Sorty sorts files in a folder by their extensions and organizes stuff. Sorty is built in Python and works cross platform.
Why Sorty?
Sorty shouldn’t be used in project folders or code folders. It’s better for organising folders like Downloads, Pictures, Trip Media etc.
For example, we download a lot of stuff in our computers. Most of the time, our download folder is a mess.
But worry not because Sorty is here!. Sorty sorts your files based on your extensions and groups similar files together. So your program setup files are in one folder, your PDF documents are in one, and your downloaded songs are in another. You can then rename these folders to suit yourself.
Another Example, whenever we go out for a holiday or a trip, we take a lot of pictures and videos. But when we import our files from our Camera or Smartphone, the videos and pictures are grouped together. And separating them takes time especially when we have many files. Again, Sorty to the rescue!. Sorty will group your videos separately and your pictures separately.
Installation
Cross Platform
You need to have Python installed for this method. It will work on Windows, Unix/Linux and Mac OS X.
Use pip to install:
pip install sorty
Installer
The Installer is coming soon for Windows. It will be a small exe that you need to place in your system folder and you are good to go.
Linux and Mac OS X don’t get a compiled executable because Python is pre installed in these systems
Usage
Navigate to the Folder which you want to sort in your Terminal/Command Prompt
Enter the following command:
sorty
And the Magic will start. By default Sorty does not sort files contained in subfolders but if you want that, just add the --topdown argument so that the command becomes:
sorty --topdown
Alternatively instead of navigating to the folder, you can let sorty do that for you using the directory argument.
sorty -d "C:\Pictures" --topdown
Dependencies
If you have Python >2.7 and >3.2 then there are no external dependencies. To Support Python 2.5 - 2.6 and 3.0 - 3.1, the argparse module is required. If you are installing using pip then don’t worry, everything will be installed automatically.
About
Created By Pradipta. Copyright 2015 MIT Licensed.
Metadata
Release files for Sorty 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| Sorty-1.0.0.zip | 6.4 kB | Without provenance | Details |
Release files / Sorty-1.0.0.zip
| Download URL | Sorty-1.0.0.zip |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
505097dc4200f9399d65030a413def98bf461c3bf562c9142a8c3fa757652f23
|
|
BLAKE2b-256 checksum How to use checksums |
08fbd90cb979b4d38a4bf52fc8ce152a42d5a657ac23c2e469fb086b2e3b7809
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for Sorty 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.