No project description provided
Project description
sorta
Get rid of clutter in your directories. Sorta organizes your files by moving them to different folders based on their filetype and extensions.
We tend to download files on our PC's very often and usually this tends to pile up and before you know it, your downloads folder turns into a messy room. Or, you might just like to be organized and have a nice looking desktop. Sorta will take care of this for you by moving your notes, documents, music, images and videos into categorized folders.
It then takes this a step further by creating subfolders that stores files with the same extension.
Installation
$ pip install sorta
Basic Usage
Organizes files in your (documents,desktop, and downloads directories) by their filetypes.
$ sorta
Organize files in a single specified directory by their filetype.
$ sorta -d /path/to/directory
By category
By default, sorta groups your files by their filetype. You can also choose to organize them by categories by using the command line flags '-c' or '--category'. You will have to create your own categories by using the '-ac' or '--addcategory' flags when sorta is first installed. These categories contain keywords or phrases that you would specify (it is best to make them as descriptive as possible so that Sorta can make the correct assignments). If a keyword/phrase was found in a filename, the file will be moved to the corresponding category's folder. Files that did not match any categories will simply be ignored.
Organize your files in (documents,desktop and downloads) by category.
$ sorta -c
Organize your files in a specific directory by category.
$ sorta -d /path/to/directory -c
Allow sorta to run at intervals
Note: In order to run Sorta in the background, you'll have to run a daemon command or your system's equivalent with Sorta along with the specified arguments(see below) as the process. Here is an example of running Sorta indefinitely, allowing it to clean up your directories periodically every 15 minutes. You can stop this by pressing Ctrl+c.
$ sorta -b -i 15
Command Line Arguments
usage: sorta [-h] [-b] [-d] [-i] [-c] [-ac]
Sorta, organize your filesystem. Running sorta without arguments organizes
your files in (documents,desktop, and downloads) by their filetype.
optional arguments:
-h, --help show this help message and exit
-b, --background Runs sorta indefinitely.
-d , --directory The directory you want to run sorta on.
-i , --interval How frequently you want sorta to run, in minutes.
-c, --category Sort files by category.
-ac, --addcategory Add or update an existing category to group files by.
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
Built Distribution
File details
Details for the file sorta-0.0.2.tar.gz
.
File metadata
- Download URL: sorta-0.0.2.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31b7df81cc8404223d15d9f786e68d67a69a22be18b4b82707897c4bc7d21632 |
|
MD5 | d81fb505daa1b4d9c74439f111106433 |
|
BLAKE2b-256 | 61b7cf1c3f1c5dce09aadf1dd2243b2e206f81c2c8648cb8737fcc064df140be |
File details
Details for the file sorta-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: sorta-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bb516c181991eb81aa2fba238b37ee4ffdb3b6d9371007dcbff69544950a376 |
|
MD5 | ce6318cfc9eef7a0f3bc531f38f20642 |
|
BLAKE2b-256 | 55023a585a591ce68d1edc56506d76d8d00cc8b23137ce9a36dbea34e26147af |