Python auto patcher

Started by
9 comments, last by Developer_X 14 years, 8 months ago
If you can execute bash scripts on your server, you can translate everything to lowercase easily with this one-liner.

for i in `find * -depth`; do (mv -fi $i `echo $i | sed 's%[^/][^/]*$%%'``echo $i | sed 's!.*/!!' | tr [:upper:] [:lower:]`); done


It will work recursively, and it will rename everything to lowercase.
So anything you have that you don't want to be translated, be sure its not anywhere within the directory tree that you run this from.
[size=2]Bang Bang Attack Studios
Senior Technical Director
Professional Typographer / Letterer Comic Art Commissions Profile

This topic is closed to new replies.

Advertisement