I need to create a sort card where in my input files are having data like below.
sftp> ls -1
file1.zip
file2.zip
sftp> QUIT
I want the output file to contain as many as GET command as the number of zip files are present input file. Provided output file should look like as below-
Get file1.zip /path1
Get file2.zip /path2
Now if the input file contain 3 files the number of GET command sould be 3.