mischief-managed
A simple script to tidy files lying outside of folders based on extension and date modified.
No deletions, simple moving of stray files into appropriate subfolders
WHY?
If you are like an average desktop/laptop user, you have lots of stray files in various locations in your system, especially in the downloads section.
To solve this, mischief-managed create a subfolder according to the type specified by the user. Current options are extension or date based. All files are then moved into appropriate subfolders.
Setup
To use, install by entering into command line -
pip install mischief-managed
View Pypi project on https://pypi.org/project/mischief-managed/
Usage
Simple usage -
mischief-managed
Just this command will manage the current working directory.
Complete options -
usage: mischief-managed [-h] [--path PATH] [--ext EXT] [--use-def] [--date] [-r RECENT]
Optional arguments:
-h, --help : show this help message and exit.
--path PATH : Directory to manage or target, instead of the current working directory.
--ext EXT : Flag if to tidy the files into the extension based folders.
--use-def : Flag to use general folder name like 'Images' for extensions - jpg,png etc.
For custom general name for subfolders, see variables.py and change according to your need.
--date : Flag if to tidy the files into the date based folders
-r RECENT, --recent RECENT : Give the number of files to include in recently created files
Example usage
-
To create extension based folders like
jpg,exeetcmischief-managed --path=C:\Users\Downloads\ -
To create extension based folders but with defined general names like
Imagesforjpg,Applicationsforexeetcmischief-managed --path=C:\Users\Downloads\ --use-def
See variables.py for defined general names.
-
To create folders based on the last modified date and also a separate folder for some number, say
10, of recent files.mischief-managed --path=C:\Users\Downloads\ --recent=10
Made by Help-a-Sloth org. Check us on GitHub.
Metadata
Release files for mischief-managed 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mischief-managed-1.0.1.tar.gz | 4.4 kB | Without provenance | Details for mischief-managed-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mischief_managed-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for mischief_managed-1.0.1-py3-none-any.whl |
Total release size: 10.5 kB
Release files / mischief-managed-1.0.1.tar.gz
| Download URL | mischief-managed-1.0.1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47bb869dc554c1ffe57b046035e5eb1a7535765111d6169117f10149667fef27
|
|
BLAKE2b-256 checksum How to use checksums |
34af72e572fee39518b949618db45af97fbbfb72d38ddb2c821f4c07171e4194
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.6
|
Release files / mischief_managed-1.0.1-py3-none-any.whl
| Download URL | mischief_managed-1.0.1-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
38b79b3df91ebb256f692d4632bf2d937b7fcf68dd070d99c675238dc3eec360
|
|
BLAKE2b-256 checksum How to use checksums |
f9b850469270281088feee4ae28f07fd506923e5444f572e03f7645977ff7271
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.6
|
Security for mischief-managed 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.