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.1.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: foldercheck-1.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 4e66e9fab55c21a9a5245576072225780aa320a8efb5b690fe93b39bf0ed9dbe
MD5 78a514286bd6ffd453d01608e759f4b5
BLAKE2b-256 2a75229b474824991e4ef1d3b47531ab0d7516b02eb81f72cfd21349ba17a16a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: foldercheck-1.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a84b1570d2d63739649b5ef601f4321c3ff5a612912f87e5242db2b064a5adcc
MD5 3c8e585b5e5d0294623427ae3c0ca241
BLAKE2b-256 4f8c9778de49c676c251b65f9fae0908dc0220ca02576c8dce1b95bc5c7904f3

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