# Model Builder ArcGis Iterate file and rename files

I want to go through a folder and subfolders to copy some files in a gdb. At the moment I have tried to do it using the iterator file and the Copy tool. The problem is all the files have the same name, then I would need to rename and give them a only name before to copy them in the gdb.

I am not too sure how I could rename them automatically, any advice?

• Advice - move to arcpy and abandon ModelBuilder. :) Nov 8 '15 at 6:21
• Thanks, but I don´t think I would be able to do it ;) . My knowledge in phyton is even worse than in Model Builder! Nov 8 '15 at 10:06
• It's easier to learn Python than ModelBuilder, you will manage it ;) Nov 9 '15 at 6:56

C:\path\to\your.gdb\%Name%_%n%