The DASCLI hash command generates a hash of the specified type or creates a bulk import list for the specified file.

Parameters

dascli hash {sha1 | sha256 | md5 | all | bulk} file_name

sha1
Generate SHA-1 hash types.
sha256
Generate SHA-256 hash types.
md5
Generate MD5 hash types.
all
Generate SHA-1, SHA-256, and MD5 hash types.
bulk
Create a bulk import list. The hash type is set to sha256 and the output format is changed to create a bulk import list.

The file names, not directories, are output on the error stream and the hashes are output to stdout. Therefore, for example, the command dascli hash bulk directory_name > hashes.txt can be used.

file_name
Name of a file or directory. Wildcards can be used. If a directory is specified, all its files are processed. This command is recursive, that is, it will process all subdirectories.