# ExtSorter - A simple file sorter
## What is it?
Sometimes you have a folder with a lot of files, and you want
to sort them into folders. This is where ExtSorter comes in.
It will sort your files into folders based on the file extension.
## How to install
```bash
$ pip install extsorter
```
## How to use
```bash
$ extsorter -h
usage: extsorter [-h] [-d DST] [src]
Sort files by extension
positional arguments:
src source dir
options:
-h, --help show this help message and exit
-d DST, --dst DST destination dir
```
## Example
Sort files in current directory to a folder called `sorted` (name by default):
```bash
$ extsorter
```
Sort files in `~/Downloads` to `~/Downloads/old`:
```bash
$ extsorter ~/Downloads -d ~/Downloads/old
```
# Development
## Install
```bash
$ poetry install
```
## Tests
```bash
$ poetry run make test
```
## Linters
```bash
$ poetry run make format
```
Raw data
{
"_id": null,
"home_page": "https://github.com/moskrc/filesorter",
"name": "extsorter",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9,<4.0",
"maintainer_email": "",
"keywords": "sort,file_sorter,file,sorter,extsorter,ext_sorter",
"author": "Vitalii Shishorin",
"author_email": "moskrc@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/6d/51/048f0b5ca50f20610c56fa143ddbf34047589a3987b910d83d9ee07bd743/extsorter-0.1.4.tar.gz",
"platform": null,
"description": "# ExtSorter - A simple file sorter\n\n## What is it?\n\nSometimes you have a folder with a lot of files, and you want\nto sort them into folders. This is where ExtSorter comes in.\nIt will sort your files into folders based on the file extension.\n\n## How to install\n\n```bash\n$ pip install extsorter\n```\n\n## How to use\n```bash\n$ extsorter -h\n\nusage: extsorter [-h] [-d DST] [src]\n\nSort files by extension\n\npositional arguments:\n src source dir\n\noptions:\n -h, --help show this help message and exit\n -d DST, --dst DST destination dir\n```\n\n## Example\n\nSort files in current directory to a folder called `sorted` (name by default):\n\n```bash\n$ extsorter\n```\n\nSort files in `~/Downloads` to `~/Downloads/old`:\n\n```bash\n$ extsorter ~/Downloads -d ~/Downloads/old\n```\n\n# Development\n\n## Install\n\n```bash\n$ poetry install\n```\n\n## Tests\n\n```bash\n$ poetry run make test\n```\n\n## Linters\n\n```bash\n$ poetry run make format\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "File Sorter",
"version": "0.1.4",
"split_keywords": [
"sort",
"file_sorter",
"file",
"sorter",
"extsorter",
"ext_sorter"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c7b594b2cdf4a153cc8a017d2d3aeaaa69f884268eddd64ab109ca61ac13398a",
"md5": "a9c3bfc66afa289bcc24756d0616d673",
"sha256": "e610620f70c44ef05235f0ca31e948978749e358b50c8ef5a75fedc3aba5fd96"
},
"downloads": -1,
"filename": "extsorter-0.1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a9c3bfc66afa289bcc24756d0616d673",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9,<4.0",
"size": 2614,
"upload_time": "2023-01-23T11:24:13",
"upload_time_iso_8601": "2023-01-23T11:24:13.446211Z",
"url": "https://files.pythonhosted.org/packages/c7/b5/94b2cdf4a153cc8a017d2d3aeaaa69f884268eddd64ab109ca61ac13398a/extsorter-0.1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6d51048f0b5ca50f20610c56fa143ddbf34047589a3987b910d83d9ee07bd743",
"md5": "147a5c9e4c17bd6e2bacf139b4eb5456",
"sha256": "44b08606a6c5a9c2f54e890a23e33d71b4bc969cc16a0f106779ee228095cf7f"
},
"downloads": -1,
"filename": "extsorter-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "147a5c9e4c17bd6e2bacf139b4eb5456",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9,<4.0",
"size": 2377,
"upload_time": "2023-01-23T11:24:14",
"upload_time_iso_8601": "2023-01-23T11:24:14.724947Z",
"url": "https://files.pythonhosted.org/packages/6d/51/048f0b5ca50f20610c56fa143ddbf34047589a3987b910d83d9ee07bd743/extsorter-0.1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-23 11:24:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "moskrc",
"github_project": "filesorter",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "extsorter"
}