Deconstruct File path - rename files

Hi,
I have seen that in the new beta version of Elefront you can deconstruct file paths. I wanted to know if, are you thinking of implementing a node to construct file paths? Would it be possible?.

I need to change the name of hundreds of files and it would be very useful

Thank you

Are you aware that you can use the concatenate component to do this?

please, how to do it?

You’ll have to copy paste the backslash separator if you use the Elefront component.

concatenate_file_path.gh (14.8 KB)

1 Like

expression node would do as well

I don’t understand. What I want to do is change the name of several files, be they 3dm or pdf

You can use a simple Python script to rename a file. If you do it with this one line of code I think you cannot undo it so be careful.

Rename Files in Python - Python Geeks

Thank you, Martin!

1 Like