I have two files having the values where i need to ignore mov_order and process the account in few cases. Can someone help me to fix the issue
file1:
input_file='/efs/home/ps604312/testing_vela/entity_list.txt'
staging staging-modules mov_order
staging staging-modules account
file2:
OTHER_ENTITY_LIST='/efs/home/ps604312/testing_vela/other_entity_list.txt'
if [[ "${ENTITY_NAME}" != "${OTHER_ENTITY_NAME}" && "${PRODUCT_ENTITY}" == "staging" ]];
then
echo "syncing only "${ENTITY_NAME}" entity"
echo "folder "${ENTITY_NAME}" is exist"
rsync -avzh ${SOURCE_PATH}/"${ENTITY_NAME}" ${DESTINATION_PATH}/"${ENTITY_NAME}"
else
rsync -avzh ${SOURCE_PATH}/"${ENTITY_NAME}" ${DESTINATION_PATH}/"${ENTITY_NAME}"
fi