-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,28 @@ | ||
# tszero | ||
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. | ||
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 | ||
```shell | ||
tszero -format tar fileName | ||
``` | ||
|
||
For a zip file, the command syntax is | ||
```shell | ||
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 | ||
```shell | ||
go install | ||
``` |