Renaming multiple files in a folder

Hello knimers,
I need a workflow that replaces “Feb 2015” and replaces it with “Mar 2015”. file name coul be as follows
xxx xxxxx feb 2015 (3 letters in this example)
xxxx xxxxx feb 2015 (4 letters in this example)
so i need smth that reads thelist of files then export them to the folder. i tried few of the available worfflow and they fail to export the file back

Hi,

Please find below a KNIME workflow that addresses your request. It reads file names from a folder and manipulates them by replacing “Feb 2015” with “mar 2015” as needed. The flow ensures both 3-letter and 4-letter suffixes or prefixes are handled correctly.

Hope it helps!

You’ll find:

  • Screenshots of the workflow
  • The KNIME flow file as an example

Best regards,
Alpay

Renaming multiple files in a folder.knwf (23.5 KB)

3 Likes

Hi @alpayzeybek ,
thanks alot for yo your. this actually does rename the files but with one file missing. also it removed the content of the files. can you please help

1 Like

Hello @mh_elhassan , @alpayzeybek
You can test the ‘Transfer Files (Table)’ node, instead of read and save the files… avoiding one step in complexity.

BR

1 Like

Hi @mh_elhassan,

I didn’t encounter this issue during my testing. You can find the screenshots below for reference. The contents shouldn’t have been removed, as we’re only reading and writing them to another location.

If possible, please upload the files with dummy data while keeping the original file names, so I can help check what might be going wrong.

Best regards,
Alpay

Ekran görüntüsü 2025-04-02 122516

1 Like

@gonhaddock thanks i really appreciate it

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.