The rehash store command regenerates file names in the existing
format for the specified captured store. If the specified store contains files
that are not hashed, the command copies the file using the current prefix
(generating a hash name), commits the change, and safely deletes the non-hashed
file if the commit succeeded. If the specified store contains files that are
already hashed, by default, the command preserves the files and does not rehash
those files.
rehash store NAME [OPTION];
NAME is the name of the file store.
OPTION can be one or both of these clauses:
commit N specifies the number of files to
rehash prior to committing the changes. If you specify commit without a value,
the command fails.
force executes the command on all files in the
specified store.