Skip to main content

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

Metadata

Release files for foldercheck 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for foldercheck 1.2.2
File Size Uploaded
foldercheck-1.2.2.tar.gz 11.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for foldercheck 1.2.2
File Interpreter ABI Platform
foldercheck-1.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 21.6 kB

Release files / foldercheck-1.2.2.tar.gz

Download URL foldercheck-1.2.2.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2561d547d2577aed4f73ab5759b857ed455968be88912b90a3f92759f100120b
BLAKE2b-256 checksum
How to use checksums
05fda469db333e31df90ad6cc40750d001b74a421b8bcc780e255c9623a8e4e1
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / foldercheck-1.2.2-py3-none-any.whl

Download URL foldercheck-1.2.2-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6328b41dd540d08e2f7745f850e1405a9332f47eff308919ae3818be24c6f383
BLAKE2b-256 checksum
How to use checksums
fb3c1c572532e8f8458f0fdbaccb055be2a097e0a84c6af27ad15f5a56bc48cf
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.2.2 This release

2 release files

1.2.1

2 release files

1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page