https://github.com/adamhebby/unusedfilechecker
Checks Website Repository for unused files
https://github.com/adamhebby/unusedfilechecker
checker cli files php repository tool unused unused-resources website
Last synced: 7 months ago
JSON representation
Checks Website Repository for unused files
- Host: GitHub
- URL: https://github.com/adamhebby/unusedfilechecker
- Owner: AdamHebby
- License: apache-2.0
- Created: 2017-11-19T16:26:06.000Z (over 8 years ago)
- Default Branch: develop
- Last Pushed: 2017-11-25T19:15:44.000Z (over 8 years ago)
- Last Synced: 2024-12-29T04:53:26.473Z (over 1 year ago)
- Topics: checker, cli, files, php, repository, tool, unused, unused-resources, website
- Language: PHP
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Unused File Checker](https://github.com/AdamHebby/UnusedFileChecker)
Built in PHP - Unused File Checker does exactly what it sounds like it should, it checks a website repository for unused files for you to later remove or look into as to why they aren't referenced.
Useful features:
* Save the state of Unused File Checker so you can continue later
* Turn on Debug mode so Unused File Checker does a deeper search
* Remove specific folders from Unused File Checker if you know they're okay
* Limit Unused File Checker to specific folders
* Ignore Regexes
### How to run?
Before you do anything, you need to check the config file and edit the "directory" value otherwise Unused File Checker won't know where to look!
```
php FileChecker.php
```
### Flags
Debug Mode on. This takes longer but shows files which weren't found in the first run, it then searches purely for the filenames instead of the full path
```
--debug=true
```
Saves the programs progress regulary which can later be loaded to pickup right where you left off
```
--savestate=true
```
Shows some helpful information
```
--help
```