Find single file in .zip folder?

Highlighted
Five Stars

Find single file in .zip folder?

I have a job where I need to find a file. Depending on date, the file will either be in a specific folder or the file will be one of many files in a zipped folder stored in a different location. The name of the zipped folder changes depending on date and there will be multiple zipped folders with similar names in that location. As an example, sometimes the file will be in C:\user\files\ and sometimes it will be in C:\user\archive\files_20180501.zip

 

What is the best way to set up the job to find the file?

 

Thanks,

Cara 


Accepted Solutions
Seven Stars

Re: Find single file in .zip folder?

 Using the tFileList component you have option there include subdirectories and in Filemask you can use the pattern which file you want to search. File Mask can be like "your file name*+context.date+".zip" and directory as your directory where to search.


All Replies
Seven Stars

Re: Find single file in .zip folder?

 Using the tFileList component you have option there include subdirectories and in Filemask you can use the pattern which file you want to search. File Mask can be like "your file name*+context.date+".zip" and directory as your directory where to search.

Five Stars

Re: Find single file in .zip folder?

Thanks, I'll try that!

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now