Skip to main content

A file organizer based on file suffixes and user chosen file extensions

Project description

File organizer

Description

A Python file organizer based on optional user defined file extensions.

Installation

Just run pip install file-organizer.

Python 3.7+ required

Command line synopsys

Usage: organize [OPTIONS] SRC DEST

Options:
  --extensions TEXT       List of extensions to move separated by comma
  --delete / --no-delete  Whether source files must be deleted after they're
                          organized
  -v, --verbose
  --help                  Show this message and exit.

Basic usage example

$ organize ~/Downloads ~/Organized

Executing the above command, will move all files inside ~/Downloads into separate folders inside ~/Organized based each file extension. To copy instead, you can pass the --no-delete flag.

Pull requests are welcome

TODO

  • Add a dry-run option
  • Improve code

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

file_organizer-0.2.3.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

file_organizer-0.2.3-py3-none-any.whl (3.0 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