Linux "rehash" Command Line Options and Examples
Create symbolic links to files named by the hash values

On some platforms, the OpenSSL rehash command is available as an external script called c_rehash. They are functionally equivalent, except for minor differences noted below. rehash scans directories and calculates a hash value of each ".


Usage:

openssl rehash [-h] [-help] [-old] [-n] [-v] [ directory...]


    c_rehash flags...






Command Line Options:

-help
Display a brief usage message.
rehash -help ...
-old
Use old-style hashing (MD5, as opposed to SHA-1) for generating links to be used for releases before1.0.0. Note that current versions will not use the old style.
rehash -old ...
-n
Do not remove existing links. This is needed when keeping new and old-style links in the same directory.
rehash -n ...