Page 1 of 1

Trim Filename

PostPosted: Wed Sep 18, 2019 1:36 am
by diegogozer
Hi, Guys, I have some files that have spaces at the beginning of it.
Since the file name can be more than one word, the renamer function is not possible, as far as I know.

Someone could give some light on how to approach it.

:D

Re: Trim Filename

PostPosted: Wed Sep 18, 2019 9:59 am
by Mr_Noodle
It may be doable using match patterns. Have a pattern try and match a space (which will match any amount of whitespace) before and after, but use a custom attribute to grab everything in between. Rename using that custom attribute. You might need several conditions to cover a space before, space after and then both before and after.