---

Bash If statements, Exit Status and Comparison Operators

In my previous post we looked at a simple bash backup script example, which would sync data between servers using ???rsync??? and then send us an email.

The only problem with this script is if ???rsync??? fails, we would still get a successful email.

Now I am sure you don’t want to find out on the day you really need them that you don’t have them