How to archive the file from different directories, e-g i am having the flat files at different folders
country/test1.xls
physician/test1.xls
clinics/test1.xls
i want move all the files into one directory once the job has been executed
Target path: archive/runid_file_used/27_aug_2013.zip
this zip file should have all the 3 source files
Appreciate any solution for this....
There's whole bunch of file management components including one to zip an archive. Just take a look at the palette to see what's there. You can use various variables and date methods to construct your file names.
Thanks for your reply alevy. Its working fine, but it's creating the archive with sub folders. i wanna archive the files not a directory .share me there is any idea
How would you handle naming conflicts i.e. files of the same name in different folders?
Assuming there are none, you would have to move all the files into one folder first (tFileList --> tFileCopy) and then archive them.
Thanks for your interest, My files are would be like Meta data>folder_physician>physicina.xls Meta data>folder_geography>geography.xls Meta data>locations>country>country.xls Meta data>locations>state>state.xls my output archive should be like MetaData_Archive.zip It should contain following files
physicina.xls geography.xls states.xls country.xls Appreciate, Any Idea