• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Unmaintained File Hashes CLI Script 1.0.0

No permission to download

XenForo Rocks

Team Member
+Lifetime VIP+
True Member
Thread starter #1
XenForo Rocks submitted a new resource:

Unmaintained File Hashes CLI Script - Generate the file hashes array to copy into your method.

Super basic PHP CLI script that'll take a directory path, and spit out a copy/pasteable code snippet containing the array of the file hashes for the file_health_check callback.

Note: You have to set two variables near the top of the file for it to work correctly!

Usage: php GenSums.php <directory> <extensions> [<exclude_files>]

Extensions and exclude_files are a comma separated list. Directory is one value only.

Example Output:

Liams-Mac:LiamW liam$ ./GenSums.php ../PayToPost .php...
Read more about this resource...

Similar threads

Similar threads