Skip to main content

organize your files with prefixes

Project description

Riordinato

Riordinato is a python library for organizing files with prefixes.

Installation

Use the package manager pip to install riordinato.

pip install riordinato 

Usage

from riordinato.files import Organize

# Example
# Prefix: 'python'
# destination folder: '/home/user/documents/pythonfiles'
prefixes = [('<prefix>', '<destination folder>'),
            ('<prefix>', '<destination folder>')]

# this variable represents the location of the folder that riordinato is going to organize
dir = '/home/user/any folder'

organize = Organize(prefixes, dir)

# Organize all files in the folder
organize.organize_all()

# organizes only files containing the specified prefix
organize.organize_specific_files('<prefix>')

Contributing

Any pull request is welcome.

License

MIT

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

riordinato-1.0.0.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

riordinato-1.0.0-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