Prefix folder name to filename

I want to prefix all the files in a folder with the name of that folder. Just the folder. Not the whole path.

Even more great would be if this could be done recursively.


1 Like

That works really great. Thanks!

I did the recursive part with a trick.
I simply used the search function and then used lxp's method on that list.

Nothing wrong with doing it that way, but you could also select the folders and turn on the checkbox Lxp highlighted.