Skip to content

jeffnerdy/cache-cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cache Cleaner

This program has two main functionalities, Search and Clean. It automates cleaning cache folders -or any other type of folders really, with the help of these two functionalities.

Search

When specified -in the option menu, the program will look up all the directories that contain Cache or cache in their paths, starting from a single directory specified in the to_be_searched.txt -if its empty the program will do nothing. Each path found will then be added to to_be_cleaned.txt.

Clean

This is the second option in the option menu. It cleans all the folders/directories specified in to_be_cleaned.txt -if the file is empty nothing will happen. You can also simply add the directories you want to be cleaned to the .txt file without the need to use Search. Keep in mind that after each Clean operation the paths in to_be_cleaned.txt will be removed from it.

I highly advise to check the paths in to_be_cleaned.txt before cleaning, so that it won’t accidentally delete a sensitive file or any other file that is required for your system to run properly.