TeamcenterKnowledge

Volume and database management utilities > File Management System (FMS) utilities

generate_file_digests

Generates the digests of a Teamcenter volume. You create a report file of digest information and use the report file to generate the digests for the Teamcenter volume. The checksum digest is generated from the file contents and is used to validate the contents of the file have not be altered during transfer or while on disk. Teamcenter supports three algorithms to generate file digests MD5, SHA-1 and SHA-256. Each have an increasing degree of protection against falsification and length of digest. Syntax generate_file_digests [-u=user-id {-p=password | -pf=password-file} -g=group] -v=volume-name [-rf=file-name] [-if=file-name] [-digestAlgorithm=algorithm] [-overwrite] [-h] Arguments -u Specifies the user ID. This is a user with Teamcenter administration privileges. Note If Security Services single sign-on (SSO) is enabled for your server, the -u and -p arguments are authenticated externally through SSO rather than being authenticated against the Teamcenter database. If you do not supply these arguments, the utility attempts to join an existing SSO session. If no session is found, you are prompted to enter a user ID and password. -p Specifies the password. -pf Specifies the password file. For more information about managing password files, see Manage password files. This argument is mutually exclusive with the -p argument. -g Specifies the group associated with the user. If used without a value, the user's default group is assumed. -v Specifies the Teamcenter volume. -rf Specifies the report file that contains the digest information for all files in the volume. This file is used as input to the -if argument. This argument is not valid with the -if argument. -if Specifies the file that contains the digests to be generated. This argument is not valid with the -rf argument. -digestAlgorithm Specifies the digest algorithm to use when generating digests for files. Use with the -if argument. The valid values are MD5, SHA-1 and SHA-256. -overwrite Specify this argument to create new digests for all the files in the file specified using the -if argument. -h Displays help for this utility. Environment As specified in Setting up a Teamcenter command-line environment. Files As specified in Log files produced by Teamcenter. Restrictions None. Examples To save a report of digest information for all files in an existing volume in the report_file.txt file, enter the following on a single line: Copy generate_file_digests -u=admin-user -p=admin-password -g=dba -rf=report_file.txt To generate digests for all files in the report_file.txt file with the SHA-1 algorithm, enter the following on a single line: Copy generate_file_digests -u=admin-user -p=admin-password -g=dba -if=report_file.txt -digestAlgorithm=SHA-1

Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/uqa1737253718952/dwu1737253719911/xid1377369.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)