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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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