Skip to content

Commit

Permalink
UPdated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrand committed Sep 14, 2021
1 parent 16a7ae3 commit 234659e
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion README.md
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
```

0 comments on commit 234659e

Please sign in to comment.