 | TurboSFV - Command-line versions |
Overview |
Along with the GUI version, TurboSFV comes with command-line versions for the creation of checksum files and the
validation of checksums. The command-line versions provide a similar functionality like the GUI version and can
properly handle file and path names, which contain Unicode characters. They are implemented as a x86 version for 32-bit
Windows and a x64 version for 64-bit Windows.
|
The command-line versions actually support the following hash types:
CRC-32, MD5, SHA-1, XXH32, XXH64, SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, SHA-512/256,
BLAKE2S-256, BLAKE2SP-256, BLAKE2B-256, BLAKE2B-384, BLAKE2B-512, BLAKE2BP-256, BLAKE2BP-384, BLAKE2BP-512,
BLAKE3-256, BLAKE3-512, BLAKE3-1024, BLAKE3-2048, SHA3-224, SHA3-256, SHA3-384 and SHA3-512.
|
The following file extensions for hash files are used:
|
bk3 | BLAKE3-256, BLAKE3-512, BLAKE3-1024, BLAKE3-2048 |
blk | BLAKE2S-256, BLAKE2SP-256, BLAKE2B-256, BLAKE2B-384, BLAKE2B-512,
BLAKE2BP-256, BLAKE2BP-384, BLAKE2BP-512 |
md5 | MD5 |
sfv | CRC-32 |
sh1 | SHA-1 |
sh2 | SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, SHA-512/256 |
sh3 | SHA3-224, SHA3-256, SHA3-384, SHA3-512 |
xxh | XXH32, XXH64 |
|
The command-line versions can be started from within a console window or can be used in batch files, where an exit code
returns a status information about the last operation. The output can be redirected to a file.
|
|
Command-line: Create |
|
This version can be used to calculate hash values for files and to save them in a hash file for a later validation. Checksums
can be generated for all files in a folder or for specific files: By using a file mask or filters, the number of files can be
limited.
|
|
During the calculation of the checksums, the following text-based progress information is displayed:
- Progress in percent
- Actual number of files versus total number of files
- Time
- Current speed
- Current file name
|
With a set of command-line switches, the program behavior can be controlled:
|
Switch |
Meaning |
/a |
Specifies the hash algorithm. |
/b |
Shows a modal message box depending on the exit code. |
/c |
Specifies the number of CPUs to be used for parallel working algorithms from the BLAKE family. |
/d |
Instead of the normal x86/x64 CPU instructions, for SHA-1 the SSE based instructions
SHA1RNDS4, SHA1MSG1, SHA1MSG2, SHA1NEXTE and for SHA-256 and SHA-224, the
SSE based instructions SHA256RNDS2, SHA256MSG1, SHA256MSG2
will be used for the calculation of checksums. For algorithms
from the BLAKE3 family (BLAKE3-256, BLAKE3-512, BLAKE3-1024, BLAKE3-2048), a special SSE based
implementation will be used, if TurboSFV is running on a 64 bit operating system.
The CPU must support the needed instructions.
|
/e |
Specifies the encoding for the hash file (ANSI, UTF-8, UTF-16 or Auto). |
/f |
Adds full path information for each file to the hash file. |
/g |
Specifies name and location of the log file. |
/h |
Hides progress updates in the console window. |
/i |
Includes files in sub folders. |
/j |
Checksums will be saved in capital letters. |
/k |
Create a backup of an existing checksum file. |
/l |
Line feed type in the hash file (Windows or Unix). |
/n |
Specifies name and location of the hash file. |
/o |
Allows to overwrite an existing hash file. |
/p |
Reads data physically from fixed drives. |
/q |
For some algorithms, an identifier for the hash type will be saved as a commentary
line and not together with the hash value (not compatible with previous versions:
v10.10 and older). |
/r |
Reverse sort order of file names in the hash file. |
/s |
Display of detailed error messages. |
/t |
Adds a timestamp to the hash file name. |
/u |
For files located on a network drive, the UNC path will be saved in the hash file
instead of the drive letter. |
/v |
Filter for file attributes to limit the number of files. |
/w |
Filter for file names and extensions to limit the number of files. |
/x |
No commentary lines with additional information. |
/y |
Scan mode in folder tree. |
/z |
Adds the file size of each file to the hash file (only for SHA family). |
/? |
Displays help. |
|
|
Command-line: Validate |
|
This version can be used to validate file hash values by passing a hash file name to the executable.
This checksum file contains checksums, which you have previously calculated either by the GUI version or
by the command-line version.
|
|
A text-based status line informs about the progress during the validation:
- Progress in percent
- Files checked versus total number of files
- Number of files, for which the validation passed.
- Number of files, for which the validation failed.
- Time
- Current speed
- Current file name
|
Similar to the other command-line version, a set of command-line switches is avaliable:
|
Switch |
Meaning |
/a |
Analysis the hash file instead of starting the validation. Optionally, the analysis
includes an availability check (counts how many files actually exist) and a search for new files,
which detects files not listed in the hash file. |
/b |
Shows a modal message box depending on the exit code. |
/c |
Specifies the number of CPUs to be used for parallel working algorithms from the BLAKE family. |
/d |
Instead of the normal x86/x64 CPU instructions, for SHA-1 the SSE based instructions
SHA1RNDS4, SHA1MSG1, SHA1MSG2, SHA1NEXTE and for SHA-256 and SHA-224, the
SSE based instructions SHA256RNDS2, SHA256MSG1, SHA256MSG2
will be used for the calculation of checksums. For algorithms
from the BLAKE3 family (BLAKE3-256, BLAKE3-512, BLAKE3-1024, BLAKE3-2048), a special SSE based
implementation will be used, if TurboSFV is running on a 64 bit operating system.
The CPU must support the needed instructions.
|
/f |
Specifies the search path for new files. |
/g |
Specifies name and location of the log file. |
/h |
Hides progress updates in the console window. |
/i |
Includes sub folders, while searching for new files. |
/p |
Reads data physically from fixed drives. |
/s |
Display of detailed error messages. |
/v |
Filter for file attributes to limit the number of files. Can be used with
the functionality "Search for new files". |
/w |
Filter for file names and extensions to limit the number of files. Can be used with
the functionality "Search for new files". |
/? |
Displays help. |
|
|
|
|
|
|
|