aditya goud
aditya goud

Reputation: 25

Rename pentaho multiple .ktr files in my folder

I have multiple .ktr transformation files in one of my folder. I've used spaces in the naming convention. So, I want to rename all those pentaho transformation files using "Spoon". Are there any steps that can rename all my files at once?

Example : I've file calles "Invoice Items.ktr". I want to rename this file to "InvoiceItems.ktr".

Upvotes: 0

Views: 485

Answers (1)

Cristian Curti
Cristian Curti

Reputation: 1054

There isn't a step that does "Rename" action, you need to generate a new filename and move the file to itself.

You can use this with a series of steps for this.

EDIT: In the get file names step, in the Wildcard column, use RegEx ".*", this will select all files within that folder. In the File/Directory column you leave only the directory, not the full filename.

enter image description here

enter image description here

Upvotes: 1

Related Questions