Recent content by usernamesaredifficult

  1. U

    Encountering IF statement and tee conflict in script

    Thanks for the feedback everyone, it’s been very helpful. Apologies for posting it in the wrong area and thanks @wizardfromoz for relocating it. @dos2unix, I did not know about the set -x, which I’m sure will be help in the future as well as now. @khedger and @JasKinasis thanks for the...
  2. U

    Encountering IF statement and tee conflict in script

    Hi All I'm looking to be able to correctly evaluate my IF statement and also output what has been backed up into a log file. In the function at the bottom I am stuck between getting the IF statement to evaluate correctly and managing to log what has been backed up (synchronised with rsync)...
Top