Page 1 of 1

Cropping / Trimming File Names

PostPosted: Mon Feb 15, 2016 6:00 pm
by gravelhighway
Good morning,

I have numerous files that give a "file name too long" error with Windows. Therefore, I'm wanting to shorten the file names.

The only consistency in the files are that the name is too long for Windows to move the file.

Is there a way to crop or trim the file names? (i.e. if a file name is over 35 characters, shorten it to 25)

Thank you!

Re: Cropping / Trimming File Names

PostPosted: Tue Feb 16, 2016 12:27 am
by Admin
Using Filter (12) , select Subfolders and path len min to 250. That will give you all objects with path length > 250. You can then rename them manually (using F2) or crop them.

Re: Cropping / Trimming File Names

PostPosted: Tue Feb 16, 2016 7:51 pm
by therube
I'll note that the 'Length' that BRU displays, is the length of the file name itself (exclusive of path).
So you could potentially have a very short file name, but in a very long path, which can also return a "too long" message from Windows.
(Though 12:Path Len Min does filter on the combined path+name length.)


Separately...

Everything can very easily (& quickly) finding long file+path names.
Set Search to 'Match Path'
Set your search term to something like: len:>250
(And of course you can further filter the results returned by Everything.)

You can then drag that set of files into BRU for processing.

Re: Cropping / Trimming File Names

PostPosted: Fri Feb 26, 2016 2:13 am
by gravelhighway
If I try to included subfolders, Bulk Rename Utility crashes.

Re: Cropping / Trimming File Names

PostPosted: Fri Feb 26, 2016 4:33 am
by Emerkamp
gravelhighway wrote:If I try to included subfolders, Bulk Rename Utility crashes.


You might try to shorten the folder names instead... Then do the files