Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I am struggling to get an output file using DIFF command. Below is the DIFF command and getting error on generating output file from Talend studio using tSystem component, whereas the command is executing properly through linux.
COMMAND:
diff -C 0 -wiB /var/opt/talend/SRC_POWER/Archive/CONTACT_COMMUNICATION_FAX_04172020.txt /var/opt/talend/SRC_POWER/Output/CONTACT_COMMUNICATION_FAX_04172020.txt > CONTACT_COMMUNICATION_FAX_CHANGES_2020-04-17.txt
Error:
I even tried below in different ways but no luck:
diff -C 0 -wiB /var/opt/talend/SRC_POWER/Archive/CONTACT_COMMUNICATION_FAX_04172020.txt /var/opt/talend/SRC_POWER/Output/CONTACT_COMMUNICATION_FAX_04172020.txt > /var/opt/talend/SRC_POWER/Output/CONTACT_COMMUNICATION_FAX_CHANGES_2020-04-17.txt
diff -C 0 -wiB /var/opt/talend/SRC_POWER/Archive/CONTACT_COMMUNICATION_FAX_04172020.txt /var/opt/talend/SRC_POWER/Output/CONTACT_COMMUNICATION_FAX_04172020.txt | /var/opt/talend/SRC_POWER/Output/CONTACT_COMMUNICATION_FAX_CHANGES_2020-04-17.txt
The above output file should generate in /var/opt/talend/SRC_POWER/Output/ path.