https://github.com/canop/weblowercaser
A small program to change all file names and internal links in lowercase
https://github.com/canop/weblowercaser
Last synced: 6 months ago
JSON representation
A small program to change all file names and internal links in lowercase
- Host: GitHub
- URL: https://github.com/canop/weblowercaser
- Owner: Canop
- Created: 2013-04-11T11:29:25.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-09-29T18:57:49.000Z (almost 2 years ago)
- Last Synced: 2025-04-11T02:51:17.031Z (over 1 year ago)
- Language: Go
- Size: 2.93 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
weblowercaser
=============
A small program to change all file names and internal links to lowercase.
Why
---
Because you inherited a huge website made on Windows with incoherent case.
Compile it
----------
go build
If it fails, you may need to run first
go get golang.org/x/net/html
Use it
------
... at your own risks. It seems to work. And it's fast. But seriously I had tested it only for my sites, it might need some complements for your own. It doesn't handle PHP files and generally can't change incomplete HTML files. Links you build using JavaScript won't be fixed either.
This makes a fixed copy in destpath of the source site :
./weblowercaser -from sourcepath -to destpath