Maximum of 64 characters in filenames

A swapping-ground for Regular Expression syntax

Maximum of 64 characters in filenames

Postby Marco » Thu May 29, 2014 12:34 am

Hello

My name is Marco.
I have browse through the forum the last hour, without any answer to my question.
Sorry if it was already answered in previous posts.

We are a small NGO hands on in Haiti and India since 2006.
We have alot, alot alot of files

I need to bulk rename them so that they become :
a) a lenght of maximum 64 characters
b) lowercase

Can you help me with good advices to tune the BRU ?

Thank you so much.
Marco
Marco
 
Posts: 1
Joined: Thu May 29, 2014 12:07 am

64 max chars in filename

Postby truth » Mon Jun 09, 2014 11:52 am

Assuming you want to keep the first 64chars:
1RegEx match/replace:
(.{1,64})
\1

4Case=Lower
truth
 
Posts: 221
Joined: Tue Jun 25, 2013 3:39 am
Location: Earth, OrionArm, MilkyWay


Return to Regular Expressions