Truncate file-/foldername to <x> words

Discuss and share scripts and script files...
Post Reply
highend
Posts: 13275
Joined: 06 Feb 2011 00:33

Truncate file-/foldername to <x> words

Post by highend »

A simple script (I need this very often) that truncates the name of a file / folder to the number of
words you select from a drop-down list.

Word separators are: space, dot, comma, semicolon, underscore, hyphen

So e.g. if you choose 3 from the drop-down and one of the selected items is a folder named

Code: Select all

The.Greatest.Truncation.English.MD.DL.720p.x264-MYSELF
Then it will be renamed to

Code: Select all

The Greatest Truncation
v0.1
Truncate item name.xys
(1.2 KiB) Downloaded 137 times
One of my scripts helped you out? Please donate via Paypal

Post Reply