Skip to main content

Don't let your folders keep junk files! FolderCheck lets you review each file in the folder for you to decide wether you want to delete it or not!

Project description

python_folderchecker

A python script which lets you review each file of a folder and decide wether you want to keep the file, put it in a "trash" folder or delete it permanently.

Installation

WITH PIP

  • Open your command-prompt/terminal
  • Run pip install foldercheck

MANUALLY

  • Download or clone this repository
  • Unzip if needed
  • You can now directly open folder_check.py and start reviewing your folders!

(On macOS you have a special script to open it Open Folder Check on macOS because you can't just double click it (it could prompt you to a script editor) )

Dependencies

Platform/Working OS

  • This python script is cross-platform and has been tested on macOS and Windows.

However, some functionnalities might not be available on every operating system (i.e. reveal on Windows which will just open the folder you're checking)

Usage

Folder Checker (for Python) usage is very simple.

WHILE INSTALLED WITH PIP

  • Open your command-prompt/terminal in the folder you want to check (or cd into it)
  • type foldercheck

WHILE INSTALLED MANUALLY

  • Open the file (with Python) and you will be prompted to enter the path of the folder you want to review (tips: you can also simply drag and drop the folder into the terminal).
  • Press enter to continue after looking at the available commands.
  • Decide what you want to do for each file and folder of the folder!

Commands when deciding what to do with a file/folder

  • o or open > to open the file
  • rev or reveal > to reveal the file in your file explorer
  • r or remove > to move the file into the trash folder
  • R > to delete the file permanently
  • -R > to delete the file permanently (without confirmation)
  • stop or cancel > to stop the execution

Troubleshooting

If you have a problem or a bug, please report it under the Issues section of this repo.

You might be asked to install psutil via pip (pip install psutil) which will give multiple system and hardware information.

You might also be asked to open the file with a terminal/command prompt with the debug argument (python3 folder_check.py -d > troubleshoot.txt)

File filtering

You won't be able to move or delete github (.git and .gitattributes) files, .DS_Store files, the Folder Check folder and the folder_check python script itself because they are not intended to move or are hidden for a good reason (i.e. .DS_Store files stores informations about the location of files in a folder for the Finder on macOS)

Also, you will be asked for a confirmation on system files before deleting or moving them. (do not rely on this though, this is in case of an accident and isn't perfect, always verify what the file is before doing anything on it (and you sure shouldn't delete any system files))

I am not responsible for any damage that might be caused by my script, or any bad usage of this script.

© Anime no Sekai - 2020

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

foldercheck-1.2.2.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

foldercheck-1.2.2-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file foldercheck-1.2.2.tar.gz.

File metadata

  • Download URL: foldercheck-1.2.2.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1

File hashes

Hashes for foldercheck-1.2.2.tar.gz
Algorithm Hash digest
SHA256 2561d547d2577aed4f73ab5759b857ed455968be88912b90a3f92759f100120b
MD5 fde78e8d049ab432da1a81006aabe853
BLAKE2b-256 05fda469db333e31df90ad6cc40750d001b74a421b8bcc780e255c9623a8e4e1

See more details on using hashes here.

File details

Details for the file foldercheck-1.2.2-py3-none-any.whl.

File metadata

  • Download URL: foldercheck-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1

File hashes

Hashes for foldercheck-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6328b41dd540d08e2f7745f850e1405a9332f47eff308919ae3818be24c6f383
MD5 1dbe947c2c9c0a14e1b588f04b4c960c
BLAKE2b-256 fb3c1c572532e8f8458f0fdbaccb055be2a097e0a84c6af27ad15f5a56bc48cf

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