A File Sorting Magician for your PC built in Python
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Sorty-1.0.0.zip
.
File metadata
- Download URL: Sorty-1.0.0.zip
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 505097dc4200f9399d65030a413def98bf461c3bf562c9142a8c3fa757652f23 |
|
MD5 | 613160f4d12c91d83505f653c0e8f797 |
|
BLAKE2b-256 | 08fbd90cb979b4d38a4bf52fc8ce152a42d5a657ac23c2e469fb086b2e3b7809 |