Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to copy,move and rename multiple files with filemask

Hi Team,

 

how can i copy,move and rename multiple files in a directory where the filename matches a specific character.

For eg my filename is like abcdefg.Dyyyymmdd &

abc_def_ghi_yyyymmddhhmmss.txt.

Thanks in advance.

Labels (2)
5 Replies
TRF
Champion II
Champion II

Which character?
This unclear.
Anonymous
Not applicable
Author

Hi,

Thanks for your response.

Answers given inline.

 

 

Which character?

My filename has the pattern like abcdefg.Dyyyymmdd &

abc_def_ghi_yyyymmddhhmmss.txt.

 

So if i want to copy/move/rename files having abcdefg.Dyyyymmdd pattern or if the filename is of abc_def_ghi_yyyymmddhhmmss.txt pattern then how can this be done ?

Thanks in advance. 

 

TRF
Champion II
Champion II

Still not very clear.
Anyway, a good practice when you ask question is to give examples of what you have and what you expect.
For your case, try tFileList with filemask *.
Connect it to tFileCopy and use tFileList_1_ CURRENT_FILE and tFileList_1_CURRENT_FILEDIRECTORY global variables to retrieve needed elements for this operation.
Anonymous
Not applicable
Author

Hi,

 

Can you please explain this with job flow as how we should be defining it 

 

Thanks

TRF
Champion II
Champion II