I write script to find the particular filename in a folder and copy the files after loaded into target table using informatica. I use this script in informatica post command task but my session got failed it did not loaded into target tables but copy the files to backup directory.
cd /etl_mbl/SrcFiles/MainFiles for f in Test.csv do cp -v "$f" /etl_mbl/SrcFiles/Backup/"${f%.csv}" done
I want to correct my script based on the source files loaded into target using informatica and copy the loaded files into backup directory.
