I have the script below to subtract the counts of files between two directories but the COUNT= expression does not work. What is the correct syntax?
COUNT=
<
This is how I always do maths in Bash:
count=$(echo "$FIRSTV - $SECONDV"|bc) echo $count