strip-nondeterminism(1) strip non-deterministic information from files


strip-nondeterminism [-t filetype] filename ...


strip-nondeterminism is a tool to strip bits of non-deterministic 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.


-t filetype, --type filetype
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.
-T seconds, --timestamp seconds
Instead of stripping timestamps from files, set them to the given number of seconds since January 1, 1970.
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.
-h, --help
Display this help message.
-V, --version
Print only the version string and then quit.


Andrew Ayer


strip-nondeterminism is free software. You can redistribute it and/or modify it under the terms of the GNU General Public License, version 3.