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 details)
Built Distribution
File details
Details for the file file_organizer-0.2.3.tar.gz
.
File metadata
- Download URL: file_organizer-0.2.3.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25a3f76f9ca50ac4e29589d8c219260dc938afcafc56d87ca3c144000dda9a81 |
|
MD5 | ea135a551c78b4d9fdf92aff5cb6d22b |
|
BLAKE2b-256 | 9d4bec6b152af5f715894f576d87b7f65fac1c6f3185317152bb9666d5f2ac91 |
File details
Details for the file file_organizer-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: file_organizer-0.2.3-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81a76c3d55117c59ca200e11922eb7c8f0d3ac0f56291d765a7fc01129a880a2 |
|
MD5 | 56f35dbf3df8b5234a8d297f3833da16 |
|
BLAKE2b-256 | 51d0b217ea906cbae103333621b98be38128c3d986b7279f55586cd76a210383 |