I have multiple text files in a folder. I must tar them in a single tar-file. I am passing (iterate) the file names through a variable. When I do that only the first file gets tarred.
Here is the code/script:
"tar -czf "+filename_+TalendDate.getDate("MMddyyyy")+".tar.gz "+((String)globalMap.get("tFileList_3_CURRENT_FILE"))
tar cf mytarball.tar *.txt
cannot be used?