Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I want to copy list of file in folder 1 to folder 2. In this folder 2, I store only the files that have the newest date.
For ex: i have the list of file in the folder 1 (6 files)
A1_scope_20180818.csv
A1_scope_20180820.csv
A2_scope_20180818.csv
A3_scope_20180819.csv
A4_scope_20180821.csv
A4_scope_20180818.csv
After the traitement, i want to obtain the list of file in the folder 2 (4 files)
A1_scope_20180820.csv, A2_scope_20180818.csv, A3_scope_20180819.csv, A4_scope_20180821.csv.
Here is the process of recover the filename and date of each file
tFileList -> tFixedFlowInput -> tIterateToFlow -> tMap -> tMemorizeRow -> TJavaFlex
I used component "tJavaFlex" to store filename and date in HashMap<String,Date>. In this HashMap, it contains only the filename and date of file corresponding ().
Now i want to copy the list of file which contain the namefile in HashMap to new folder (folder 2)
Have you an idea for this.
Thanks
Br
Giang
it works.
Thank for your help.
Regards
ledoan