- Jul
- 204
- 2
ZIP offsets the internal timestamp of the file it stores (since TCMD V20) (looks like time-zone handling). ZIP/U seems to compare the timestamps without accounting for the time offset; it keeps adding the file even if the timestamp did not change.
> touch/c asd
2017-11-28 14:50:39.695 D:\testzip\asd
>zip /a testzip.zip asd
<= D:\testzip\asd
> zip /v testzip.zip
2017-11-28 13:50 1 -100% asd <<<=== time offset by 1 hour
> zip /u testzip.zip asd
<= D:\testzip\asd <<<=== file is added again
> touch/c asd
2017-11-28 14:50:39.695 D:\testzip\asd
>zip /a testzip.zip asd
<= D:\testzip\asd
> zip /v testzip.zip
2017-11-28 13:50 1 -100% asd <<<=== time offset by 1 hour
> zip /u testzip.zip asd
<= D:\testzip\asd <<<=== file is added again