Python code to remove empty folders from Windows/Android.

Overview

Empty Folder Cleaner

Table Of Contents

Description

Empty Folder Cleaner is a program that deletes empty folders from your computer or device and removes clutter to improve performance. It supports only windows and android for now.

Libraries Used

Setup Instructions

There are no prerequisites; simply run the script. If you don't already have Python installed, you can get it here.

  • Clone the repository
git clone https://github.com/dark-coder-cat/Empty-Folder-Cleaner.git
  • Go to the folder directory
cd Empty-Folder-Cleaner
  • Run the script
python empty_folder_cleaner.py

To run it on Android, you can use either Pydroid3 or Termux.

How it works

The program removes any empty folder(s) fom your device by:

  • Checking the empty folders in curent path.
  • Checking the empty folder in given path provided by user.

Note: If you get any code like 03m[ on your terminal choose OPTION 3 before providing the path to be checked.
Reason:

It is used to change the text color but it doesn't work on some devices or computer.

After providing the path to be checked, you'll be required to enter (Y/N) to confirm the deletion of the folders. Upon deletion, the following would be displayed:

  • The number of folders deleted.
  • The number of folders scanned.
  • The number of files and folders present in the provided path.
  • The scanned dir path.

Enter exit at any input to stop the program.

Screenshots

UI may differ due to terminal difference

Starting ScreenstartScreen.jpg
Option 1Option1.jpg Option 2Option2.jpg
ProcessOption2process.jpg
if
Found Empty FoldersfoundEmpty.jpg Not Found Empty FoldersnoEmpty.jpg
End ScreenendScreen.jpg

Contributing

Feel free to add more features to this repo by either creating an issue or making a Pull Request. See our contribution guidelines to get started.

Meet our contributors

License

This project is under an MIT LICENSE.

You might also like...
🚧Useful shortcuts for simple task on windows

Windows Manager A tool containg useful utilities for performing simple shortcut tasks on Windows 10 OS. Features Lit Up - Turns up screen brightness t

✨ Voici un code en Python par moi, et en français qui permet d'exécuter du Javascript en Python.
✨ Voici un code en Python par moi, et en français qui permet d'exécuter du Javascript en Python.

JavaScript In Python ❗ Voici un code en Python par moi, et en français qui permet d'exécuter du Javascript en Python. 🔮 Une vidéo pour vous expliquer

ticktock is a minimalist library to view Python time performance of Python code.

ticktock is a minimalist library to view Python time performance of Python code.

✨ Un code pour voir les disponibilités des vaccins contre le covid totalement fait en Python par moi, et en français.
✨ Un code pour voir les disponibilités des vaccins contre le covid totalement fait en Python par moi, et en français.

Vaccine Notifier ❗ Un chois aléatoire d'un article sur Wikipedia totalement fait en Python par moi, et en français. 🔮 Grâce a une requète API, on peu

✨ Voici un code en Python par moi, et en français qui permet de générer du texte Lorem.
✨ Voici un code en Python par moi, et en français qui permet de générer du texte Lorem.

Lorem Gen ❗ Voici un code en Python par moi, et en français qui permet de générer du texte Lorem. Dépendences : pip install lorem_text 💖 Enjoy 🎫 Mon

cpp20.py is a Python script to compile C++20 code using modules.

cpp20.py is a Python script to compile C++20 code using modules. It browses the source files to determine their dependencies. Then, it compiles then in order using the correct flags.

Python code to generate and store certificates automatically , using names from a csv file

WOC-certificate-generator Python code to generate and store certificates automatically , using names from a csv file IMPORTANT In order to make the co

Python code to divide big numbers

divide-big-num Python code to divide big numbers

A simple tool to extract python code from a Jupyter notebook, and then run pylint on it for static analysis.

Jupyter Pylinter A simple tool to extract python code from a Jupyter notebook, and then run pylint on it for static analysis. If you find this tool us

Comments
  • Code Clarification

    Code Clarification

    WhatsApp Image 2021-10-03 at 20 49 46

    I'm a little bit confused about the codes, why does it show [0;38;48m, [3;37;40m, [1;37;40m?. I feel it's sort of distracting, or is it a must it's printed out?

    opened by Mannuel25 29
Releases(v0.5.1-beta)
Owner
Dark Coder Cat | Vansh
Vansh Raj. | Speed Learner | insta- vanshraj_1733 @The-Code-Killers
Dark Coder Cat | Vansh
A (very dirty) experiment to remove layers from a Docker image.

Surgically remove layers from a Docker image (with a chainsaw)

Jérôme Petazzoni 9 Jun 8, 2022
Utility to add/remove licenses to/from source files

Utility to add/remove licenses to/from source files. Supports processing any combination of globs, files, and directories (recurse). Pruning options allow skipping non-licensing files.

Eduardo Ponce Mojica 2 Jan 29, 2022
pydsinternals - A Python native library containing necessary classes, functions and structures to interact with Windows Active Directory.

pydsinternals - Directory Services Internals Library A Python native library containing necessary classes, functions and structures to interact with W

Podalirius 36 Dec 14, 2022
Python based tool to extract forensic info from EventTranscript.db (Windows Diagnostic Data)

EventTranscriptParser EventTranscriptParser is python based tool to extract forensically useful details from EventTranscript.db (Windows Diagnostic Da

P. Abhiram Kumar 24 Nov 18, 2022
Daiho Tool is a Script Gathering for Windows/Linux systems written in Python.

Daiho is a Script Developed with Python3. It gathers a total of 22 Discord tools (including a RAT, a Raid Tool, a Nuker Tool, a Token Grabberr, etc). It has a pleasant and intuitive interface to facilitate the use of all with help and explanations for each of them.

AstraaDev 32 Jan 5, 2023
Minimal Windows system information tool written in Python

wfetch wfetch is a Minimal Windows system information tool written in Python (Only works on Windows) Installation First of all have python installed.

zJairO 3 Jan 24, 2022
WindowsDebloat - Windows Debloat with python

Windows Debloat ??️ Quickly and easily configure Windows 10. Disclaimer I am NOT

null 1 Mar 26, 2022
This is discord nitro code generator and checker made with python. This will generate nitro codes and checks if the code is valid or not. If code is valid then it will print the code leaving 2 lines and if not then it will print '*'.

Discord Nitro Generator And Checker ⚙️ Rᴜɴ Oɴ Rᴇᴘʟɪᴛ ??️ Lᴀɴɢᴜᴀɢᴇs Aɴᴅ Tᴏᴏʟs If you are taking code from this repository without a fork, then atleast

Vɪɴᴀʏᴀᴋ Pᴀɴᴅᴇʏ 37 Jan 7, 2023
Keval allows you to call arbitrary Windows kernel-mode functions from user mode, even (and primarily) on another machine.

Keval Keval allows you to call arbitrary Windows kernel-mode functions from user mode, even (and primarily) on another machine. The user mode portion

null 42 Dec 17, 2022
Group imports from Windows binaries

importsort This is a tool that I use to group imports from Windows binaries. Sometimes, you have a gigantic folder full of executables, and you want t

【☆ ゆう ☆ 】 15 Aug 27, 2022