Skip to content
/ tszero Public

Filter for tar and zip archives that sets all timestamps to zero. This allows archives with content that is the same except for timestamps to compare as equal.

License

Notifications You must be signed in to change notification settings

mgrand/tszero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tszero

Filter for tar and zip archives that sets all timestamps to zero. For zip files, it also removes extra data from file headers. This allows filtered versions of archives with content that is the same except for timestamps to compare as equal and to have the same hash.

To use tszero on a tar file, the command syntax is

tszero -format tar fileName

For a zip file, the command syntax is

tszero -format zip fileName

The filtered archive file is written to stdout.

No binary distribution of tszero is currently available.

You can install tszero from source. To do this you must first have go installed. If it is not already installed you can download it from https://golang.org/dl/

Once go is installed, check out this repository and issue the command

go install

About

Filter for tar and zip archives that sets all timestamps to zero. This allows archives with content that is the same except for timestamps to compare as equal.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages