Skip to main content
Question

Copy file geodatabase to a different location with a new name.

  • June 18, 2026
  • 4 replies
  • 46 views

gneiss1.rey
Contributor
Forum|alt.badge.img+5

I would like to copy an existing file geodatabase and rename it to a different location.  I have been reading up on the FILECOPY but can’t make sense of what I’ve seen.  Any help is greatly appreciated. 

4 replies

crutledge
Influencer
Forum|alt.badge.img+47
  • Influencer
  • June 18, 2026

Hi ​@gneiss1.rey 

You may be running into trouble because a file gdb is treated as a folder. You could try and zip the fgdb and then use file copy. 

Or if you are treating it as a backup before you have a workspace progress further simply use a FeatureWriter after reading in your fgdb data, write the data out as a fgdb bkp and then proceed with the next steps in your workspace.

Hope that helps!

Clifford.


gneiss1.rey
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • June 19, 2026

Thanks for the response, ​@crutledge 

There must be something in the air but I am drawing a blank when compressing a file geodatabase. That seems like it might work but I can’t seem to find the transformer and parameters to do that.  

Thanks in advance. 


crutledge
Influencer
Forum|alt.badge.img+47
  • Influencer
  • June 19, 2026

Oh ​@gneiss1.rey I was thinking just change the file type extension to .zip Or...FME is pretty good at that.

https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Form/Workbench/zip_files_writing.htm

 

Then test your file copier using the zip. Hope that helps!!


davidlee
Supporter
Forum|alt.badge.img+8
  • Supporter
  • June 20, 2026

I created a transformer called RenameFile on FME Hub, you can try it, hope that helps!