Search found 31 matches

by deeplind07
Tue May 03, 2011 1:55 am
Forum: General
Topic: Extracting files from unix
Replies: 24
Views: 7239

Hi, This is the first time i am posting anything on DSex. 1. Cat > Latest_file.sh cp `ls -1 *.csv | sort -n -t"_" -k 2.1,2.6|tail -1` Latest_file.csv 2. Call this .sh file in the before job sub routine or in an execute command stage. 3. Then in the file stage add file name=Latest_file.csv ...