Dave's Brain

Browse - Computer Tips - The timezone of the time in my rsync daemon log is wrong.

Date: 2013aug20
Product: rsync

Q.  The timezone of the time in my rsync daemon log is wrong.
How can I correct this?

A.  I fixed it by setting the $TZ environment variable before invoking "rsync --daemon" as follows:

export TZ=`date +%Z`

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.