strip-nondeterminism - strip nondeterministic information from files
Contents
Copyright
strip-nondeterminism is free software. You can redistribute it and/or modify it under the terms of the
GNU General Public License, version 3.
perl v5.40.0 2025-02-09 STRIP-NONDETERMINISM(1p)
Description
strip-nondeterminism is a tool to strip bits of nondeterministic information, such as timestamps, from
files. It can be used as a post-processing step to make a build reproducible, when the build process
itself cannot be made deterministic.
Name
strip-nondeterminism - strip nondeterministic information from files
Options
-tfiletype, --typefiletype
Use the normalizer for the given file type (ar, gzip, jar, zip). If this option is not specified,
the file type is detected automatically based on the file name extension.
-Tseconds, --timestampseconds
Instead of stripping timestamps from files, set them to the given number of seconds since January 1,
1970.
--clamp-timestamp
Only replace timestamps if they are later than the time specified to --timestamp. You can use this
option to ensure that only timestamps introduced as part of the build process are replaced. NOT YET
IMPLEMENTED FOR ALL FILE FORMATS.
--normalizersSPEC
Enable or disable specific normalizers separated by a comma (eg. +foo,-bar. The magic values +all
and -all will enable and disable all normalizers.
-h, --help
Display this help message.
-V, --version
Print only the version string and then quit.
Synopsis
strip-nondeterminism [-t filetype] filename ...
