Skip to main content
Question

FME used for copy and cut files

  • Jul 23, 2013 3:09 PM UTC
  • 9 replies
  • 187 views

is FME can be used to change name of file and folder and cut files in another?

 

If you prefer I don't want that FME read, i want to use it basically because i have 100 folders to tidy.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

9 replies

takashi
Celebrity
  • Jul 23, 2013 4:07 PM UTC
Hi,

 

 

The FileCopy writer seems to be helpful.

 

 

Takashi

  • Author
  • Jul 23, 2013 6:33 PM UTC
ok, i'll try it

 

 

thank you

  • Author
  • Jul 24, 2013 12:54 PM UTC
I tried but i have this message:

 

 

File Copy Writer: Skipped 99 features that were missing source datasets

 

 

How to use file copy?

 

For example in source i have example.mif and i link it with file copy?

takashi
Celebrity
  • Jul 24, 2013 2:29 PM UTC
Hi,

 

 

As a basic usage, send a feature which has the source file path as an attribute named 'filecopy_source_dataset' to the File Copy writer, then the source file will be copied in the specified directory. If you need to copy multiple files at once, the wild card (*) can be also used in the source file path string.

 

 

Takashi

takashi
Celebrity
  • Jul 24, 2013 3:38 PM UTC
Hi,

 

 

You don't need to read the source data, just the source file path is necessary. Try first a simple workflow like this: Creator --> AttributeCreator     Name: filecopy_source_dataset     Value: C:\\<directory path>\\* --> File Copy Writer

 

 

Takashi

fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • Jul 24, 2013 7:40 PM UTC
You can just use the directory and files reader > file copy writer.

  • Author
  • Jul 25, 2013 12:10 PM UTC
Ok, it works

 

 

But FME is not the good software for doing this, it's too long.

 

FME is ok for transformation and extract data but no more.

takashi
Celebrity
  • Jul 26, 2013 4:57 AM UTC
Hi,

 

 

The most part of file copy / move operations will be done by the OS, FME just provides the user interface to select source / destination file paths. I guess there are other reasons for having consumed long time.

 

 

Takashi

  • Author
  • Jul 29, 2013 9:38 AM UTC
Yes you're right .

 

My computer having a task in the same time and i try on another and it's ok.

 

 

So it's possible, I was wrong about the time it takes

 

 

jy