Would you let me know how you tested. I create a file name that starts with "_" (undersore) and tried to change the file name to either upper or lower using "uc" or "lc", but it did not work. Any advice?
I don't need to change the "_" (leave as it is), but I do want to change the rest of them to upper case when reading from a file. I am using Win2000. It seems that a file name or directory start with a "_" did not get pick up on the pattern matching I mentioned before. I...
I can change all file names to upper case except the file "_ccmwaid.inf". How could it happen? Is ther any problem with pattern matching? " m/([a-zA-Z0-9._~\s]+)[-'#.!?]?\s*$/x;"
Thanks
I have a perl script to convert the case of directories and files. When I run it, it pops up a message "The process cannot access the file because it is being used by other process. Access denied" on the command prompt. However, it seems working fine for me. Why? Hope someone can...
My situation is that I have a very big file with mixed case directories and subdirectories. Under each directories, there are multi files. My goal is to replace all lower case characters in the directories to upper case and all upper case characters in each file names to lower, or vice versa...
Hi all,
I am new to this forum. I am self studying perl and want to write a script to convert all directory names to upper case and all file names to lower case. I will apreciate it if there is any one can help me with this issue.
Thanks in advance.
Ken
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.