Skip to main content

File Sorter

Project description

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

$ pip install extsorter

How to use

$ 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):

$ extsorter

Sort files in ~/Downloads to ~/Downloads/old:

$ extsorter ~/Downloads -d ~/Downloads/old

Development

Install

$ poetry install

Tests

$ poetry run make test

Linters

$ poetry run make format

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

extsorter-0.1.4.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

extsorter-0.1.4-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file extsorter-0.1.4.tar.gz.

File metadata

  • Download URL: extsorter-0.1.4.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.11.1 Darwin/21.6.0

File hashes

Hashes for extsorter-0.1.4.tar.gz
Algorithm Hash digest
SHA256 44b08606a6c5a9c2f54e890a23e33d71b4bc969cc16a0f106779ee228095cf7f
MD5 147a5c9e4c17bd6e2bacf139b4eb5456
BLAKE2b-256 6d51048f0b5ca50f20610c56fa143ddbf34047589a3987b910d83d9ee07bd743

See more details on using hashes here.

File details

Details for the file extsorter-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: extsorter-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.11.1 Darwin/21.6.0

File hashes

Hashes for extsorter-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e610620f70c44ef05235f0ca31e948978749e358b50c8ef5a75fedc3aba5fd96
MD5 a9c3bfc66afa289bcc24756d0616d673
BLAKE2b-256 c7b594b2cdf4a153cc8a017d2d3aeaaa69f884268eddd64ab109ca61ac13398a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page