Skip to main content
Question

FME used for copy and cut files

  • July 23, 2013
  • 9 replies
  • 130 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
  • July 23, 2013
Hi,

 

 

The FileCopy writer seems to be helpful.

 

 

Takashi

  • Author
  • July 23, 2013
ok, i'll try it

 

 

thank you

  • Author
  • July 24, 2013
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
  • July 24, 2013
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
  • July 24, 2013
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+21
  • Safer
  • July 24, 2013
You can just use the directory and files reader > file copy writer.

  • Author
  • July 25, 2013
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
  • July 26, 2013
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
  • July 29, 2013
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