Sure!
I00010ALB.HTML
I00010GRV.HTML
I00010LIC.HTML
I00010WED.HTML
These are the actual html file names for 1 individual in the history, containing picture ALBum (hummm... ), picture and info on GRaVe, wedding LICense application and WEDding license. I did all the work initially in Windows over a decade ago now, and now needed to make changes/additions and currently only run Ubuntu - and Ubuntu is case sensitive whereas Windows wasn't. So, in a main html file for individual I00010 there is a link (text "See xxxxxxxx") for each but they are specified in lower case - so no match. It would be easier to rename the files than to edit each of the individuals (22,000+ !!) html files.
So, I've tried rename and get an error:
Code:
me@me1735:~/.wine/drive_c/ftwtest/cdimage/myhtml$ ls *ALB*
I00011ALB.HTML I00052ALB.HTML I00142ALB.HTML I00502ALB.HTML I00564ALB.HTML I01378ALB.HTML I03392ALB.HTML I21693ALB.HTML
I00012ALB.HTML I00065ALB.HTML I00493ALB.HTML I00515ALB.HTML I00585ALB.HTML I01380ALB.HTML I03445ALB.HTML I21694ALB.HTML
I00044ALB.HTML I00066ALB.HTML I00495ALB.HTML I00516ALB.HTML I00587ALB.HTML I01397ALB.HTML I12239ALB.HTML SKELETONALB.HTML
I00047ALB.HTML I00069ALB.HTML I00501ALB.HTML I00522ALB.HTML I00589ALB.HTML I01399ALB.HTML I12240ALB.HTML
me@me1735:~/.wine/drive_c/ftwtest/cdimage/myhtml$
me@me1735:~/.wine/drive_c/ftwtest/cdimage/myhtml$
me@me1735:~/.wine/drive_c/ftwtest/cdimage/myhtml$ rename *ALB* *alb*
Bareword "I00011ALB" not allowed while "strict subs" in use at (eval 1) line 1.
Bareword "HTML" not allowed while "strict subs" in use at (eval 1) line 1.
me@me1735:~/.wine/drive_c/ftwtest/cdimage/myhtml$
me@me1735:~/.wine/drive_c/ftwtest/cdimage/myhtml$
me@me1735:~/.wine/drive_c/ftwtest/cdimage/myhtml$ rename I*ALB.HTML I*alb.html
Bareword "I00011ALB" not allowed while "strict subs" in use at (eval 1) line 1.
Bareword "HTML" not allowed while "strict subs" in use at (eval 1) line 1.
me@me1735:~/.wine/drive_c/ftwtest/cdimage/myhtml$
Thanks, Lars!
Bookmarks