Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to cut and paste files from one folder to another on local machine?

Hello,

 

I have a job designed to copy .csv files from a local folder(Jobs) and dump them into a source DB in MySQL. 

 

I'm using tFileCopy to move files from jobs folder(on local machine) to archive folder(on local machine). But, when I use tfilecopy it is copy-pasting files from jobs folder to archive folder whereas I need to cut and paste files.

 

When I check 'remove source file' in tFileCopy it removes all the .csv files and does not allow to iterate the job to dump multiple files into the database. 

 

Below I'm attaching couple of screenshots regarding the job.

Labels (2)
2 Replies
bglaplante
Contributor III
Contributor III

Well, here's a thought - since you are able to successfully copy/paste the files... do that.

Then, when all your sub-jobs complete, use tFileDelete to remove the files from the input folder.

Anonymous
Not applicable
Author

Hello,

Here is a scenario which describes a Job deleting files from a given directory.

https://help.talend.com/reader/tijepEm57S3WnX3bdkusEQ/Aa9NbrL73E~7OzQhbdkzkQ 

Best regards

Sabrina