How to sort Files by name using older version of Talend and tFileList

Four Stars

How to sort Files by name using older version of Talend and tFileList

Hi, I have to take some files in Input (let's say 5) with a tFileList and sort them by file name in ascending order.

Here I can see that the component tFileList has the options to that:

https://help.talend.com/internal/api/webapp/resources/utCevIWq2xjSsmN_nh5gUQ/content

 

in my case I'm using the 3.1 version of Talend Open Studio, and the tFileList of that versions doesn't have the sorting options like the 6.1 version has, is there any other way of sorting the files?

Employee

Re: How to sort Files by name using older version of Talend and tFileList

Hi,

 

    The best and easy way will be to do the upgrade as we are currently at 7.2 version of Talend. I have never tried version 3 of Talend personally. If you do not want to upgarde, then, you will have to use tSystem component to print the file properties to a file using Unix command and then read that file to determine the creation date or modified date of file.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)

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 3

Read about some useful Context Variable ideas

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

Talend Studio Improvements for API Services

Taken a look at the Talend Studio improvements for API Services

Watch Now