tencent cloud

masukan

Getting File Hash Value - hash

Terakhir diperbarui:2022-05-03 11:04:52

    The hash command is used to calculate the hash value of a local file or get the hash value of a file in COS.

    Command Syntax

    ./coscli hash <object-name> [flag]
    
    Note:

    The hash command contains the following optional flags:

    Flag Abbreviation Flag Full Name Description
    None --type Hash type, which can be MD5 or CRC64 (default)

    Examples

    Calculating the CRC64 value of local file

    ./coscli hash ~/test.txt
    

    Getting the MD5 value of COS file

    ./coscli hash cos://bucket1/example.txt --type=md5
    
    Hubungi Kami

    Hubungi tim penjualan atau penasihat bisnis kami untuk membantu bisnis Anda.

    Dukungan Teknis

    Buka tiket jika Anda mencari bantuan lebih lanjut. Tiket kami tersedia 7x24.

    Dukungan Telepon 7x24