Hi,
I am trying to check if two input files exist before the rest of the scripts is run. Following is the code that I have but it gives me syntax error.
if [ ! -f /lv8/diamond/shprod/data/hcfadata.dat || ! -f /lv8/diamond/shprod/data/PDPhcfadata.dat ]
then
echo "File not found"
else
echo "File found"
fi