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
.
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.2.tar.gz
(2.5 kB
view details)
Built Distribution
File details
Details for the file file_organizer-0.2.2.tar.gz
.
File metadata
- Download URL: file_organizer-0.2.2.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 | a6acf40cc67ff9bcf7ccef27ac000a15810f69479d632071c738ca851120e81f |
|
MD5 | 257afc62d629c6dc9b5a5d114c88a5bb |
|
BLAKE2b-256 | ba63a2a086d2d09704d94efbc4b9505d9376840f99a703b52bb37f969329513c |
File details
Details for the file file_organizer-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: file_organizer-0.2.2-py3-none-any.whl
- Upload date:
- Size: 2.9 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 | b26c7cc436a3d0bc185356e6a3f6248f0529e8198e5dd53072b55e6b5406f92a |
|
MD5 | c21f41634dc4b16e1d331ccb4597d14c |
|
BLAKE2b-256 | 59b84c1eccaa65f061cd0d16a71cb8b43b99d6360ddf96743a101c79f10c345a |