Hi All
I have a folder full of sub folders and within those, some files that have . at the beginning.
Would someone please tell me the best way to run through all sub folders and remove any leading . or replace them with _ ?
Thanks
Simon
Match: (^\.)(.*)
Replace: \2
if (name.charAt(0) == ".") newName = name.substring(1);
if (name.charAt(0) == ".") newName = "_" + name.substring(1);