Categories

Links2Lower - Links2Lower

Links2Lower is a small PHP CLI script that recursively renames all files and folders in the path argument to lowercase, and searches for HTML files and lowercases any URL's within them. This is useful for HTML documentation (or sites) created in Windows where there has been disregard for the case-sensitivity of the URLs, making hyperlinked documentation unusable on a case-sensitive system like Linux. (Open University HTML documentation being a guilty party). Call the script and provide the path to the directory of the HTML documentation to work on. E.g. php links2lower.php /home/anuser/docs/

Demo Visit Publisher views : ( 819 )

Share This :  

 

 

Login To Post Your Feedback

Username  :

ex : johnpeter
Password  :

password must have min 6 chars
     

  Subscribe to get alerts on scripts of this category
Email Id
Category