Skip to main content

Files outside any folder are made tidy/managed by putting inside folder based on their extension or date

Project description

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, exe etc

      mischief-managed --path=C:\Users\Downloads\
    
  • To create extension based folders but with defined general names like Images for jpg, Applications for exe etc

      mischief-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.

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

mischief-managed-1.0.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

mischief_managed-1.0.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file mischief-managed-1.0.1.tar.gz.

File metadata

  • Download URL: mischief-managed-1.0.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for mischief-managed-1.0.1.tar.gz
Algorithm Hash digest
SHA256 47bb869dc554c1ffe57b046035e5eb1a7535765111d6169117f10149667fef27
MD5 b12a0bb1b6368cf317c508551666592f
BLAKE2b-256 34af72e572fee39518b949618db45af97fbbfb72d38ddb2c821f4c07171e4194

See more details on using hashes here.

File details

Details for the file mischief_managed-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: mischief_managed-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for mischief_managed-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 38b79b3df91ebb256f692d4632bf2d937b7fcf68dd070d99c675238dc3eec360
MD5 6c01ae6bf0eb81b4709192c11c8eee14
BLAKE2b-256 f9b850469270281088feee4ae28f07fd506923e5444f572e03f7645977ff7271

See more details on using hashes here.

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