[GH-ISSUE #200] Timestamp metadata missing in generated zip file #101

Closed
opened 2026-04-08 16:50:21 +03:00 by zhus · 0 comments
Owner

Originally created by @luaneko on GitHub (Mar 30, 2023).
Original GitHub issue: https://github.com/sigoden/dufs/issues/200

Problem

When downloading a zipped folder, dufs does not record any timestamp information, resulting in incorrect metadata.

image

Exiftool on the generated zip:

$ exiftool -a '/Users/luaneko/Downloads/Folder.zip'
ExifTool Version Number         : 12.50
...
MIME Type                       : application/zip
Zip Required Version            : 20
Zip Bit Flag                    : 0x0008
Zip Compression                 : Deflated
Zip Modify Date                 : 1980:00:00 00:00:00 # timestamp missing
...
Zip File Name                   : test.mp3
Zip Required Version            : 20
Zip Bit Flag                    : 0x0008
Zip Compression                 : Deflated
Zip Modify Date                 : 1980:00:00 00:00:00 # timestamp missing
...

Environment:

  • Dufs version: 0.33.0
  • Browser/Webdav Info: Safari 16.3 (18614.4.6.1.6)
  • OS Info: Ventura 13.2.1 (22D68)
Originally created by @luaneko on GitHub (Mar 30, 2023). Original GitHub issue: https://github.com/sigoden/dufs/issues/200 **Problem** When downloading a zipped folder, dufs does not record any timestamp information, resulting in incorrect metadata. <img width="409" alt="image" src="https://user-images.githubusercontent.com/27663662/228863121-0678592a-1fac-40fd-ad31-4564435da33d.png"> Exiftool on the generated zip: ```sh $ exiftool -a '/Users/luaneko/Downloads/Folder.zip' ExifTool Version Number : 12.50 ... MIME Type : application/zip Zip Required Version : 20 Zip Bit Flag : 0x0008 Zip Compression : Deflated Zip Modify Date : 1980:00:00 00:00:00 # timestamp missing ... Zip File Name : test.mp3 Zip Required Version : 20 Zip Bit Flag : 0x0008 Zip Compression : Deflated Zip Modify Date : 1980:00:00 00:00:00 # timestamp missing ... ``` **Environment:** - Dufs version: 0.33.0 - Browser/Webdav Info: Safari 16.3 (18614.4.6.1.6) - OS Info: Ventura 13.2.1 (22D68)
zhus closed this issue 2026-04-08 16:50:21 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#101