-
Notifications
You must be signed in to change notification settings - Fork 0
Usage
Filebert [/s:<scope>] [/h:<hashes>] [/v:<validations>] [/R] [/flacrip] [/mp3rip] [/tags] [/webcheck] [/strict] [/f:<wildcard>] [/x:<exclusion>] [/out:<mirror>] [/p:<counter>] [/k] <fileOrFolder>
FilebertWin [/s:<scope>] [/h:<hashes>] [/v:<validations>] [/R] [/flacrip] [/mp3rip] [/tags] [/webcheck] [/strict] [/f:<wildcard>] [/check] [<fileOrFolder>]
where <scope> is one from Detail Verbose Lucid Terse Quiet
where <hashes> is list from None Intrinsic FileMD5 FileSHA1 FileSHA256 MetaSHA1 MediaSHA1 PcmMD5 PcmCRC32
where <validations> is list from None Exists MD5 SHA1 SHA256
where <fileOrFolder> is a file or folder name without wildcards.
- Control scope of diagnostics with
/s:<scope> - Generate hashes with
/h:<hashes> - Validate file existence and integrity with
/v:<validations> - Enable repairs with
/R - Check FLAC rips made using EAC or XLD with
/flacrip - Check MP3 rips made using EAC or XLD with
/mp3rip - Analyze FLAC tags with
/tags - Check EAC self hash with
/webcheck - Indicate highest quality with
/strict - Filter files to be checked with
/f:<wildcard> - Show usage with
/? - Check immediately with
/check - Pause termination with
/k
Five increasing levels of diagnostics are available with the /s switch.
This setting does not affect the actual checks being performed - only how much is reported.
<scope> is one from:
-
Quiet: Shows errors only. -
Terse: Shows warnings and errors only. -
Lucid: Shows advisories, warnings and errors. -
Verbose: Shows noise, advisories, warnings and errors. Shows program version too. -
Detail: Shows everything.
- Use
/s:Detailto see all available diagnostics.
Filebert's primary function is to validate media files while providing some repair capability. As a secondary function, Filebert also generates hashes of entire files or segments of files. If any file-level hashes are enabled, the console output transforms into a form that is suitable for a hash file. This combines the steps of checking file integrity with hash generation of the files being checked and shows the combined results.
When an associated stored hash exists for a generated hash, the appropriate check will be made.
<hashes> is 0 or a comma-separated list from:
-
Intrinsic: generates hashes used for quick checks (e.g. FLAC, MP3, OGG, PNG). -
FileMD5: generates console output suitable for a.md5digest file. -
FileSHA1: generates console output suitable for a.sha1digest file. -
FileSHA256: generates console output suitable for a.sha256digest file. -
MetaSHA1: generates console output suitable for a.sha1xfile. -
MediaSHA1: generates console output suitable for a.sha1xfile. -
PcmMD5: generates audio segment MD5 hashes of.flacand.wavfiles. -
PcmCRC32: generates audio segment CRCs of.flacand.wavfiles.
For more information on the three SHA1 choices, see The .sha1x file format.
Intrinsic hashes have little or no penalty while non-intrinsic hashes are resource intensive.
The default setting is /h:Intrinsic as seen next.

- Use
/h:Intrinsic,FileSHA1to generate SHA1 file hashes while checking files. Diagnostic lines are prefixed by semicolons so they will be treated as comments as seen next. This output is suitable to copy and paste to a.sha1file.

- Use
/h:Intrinsic,PcmMD5to generate.flacMD5 hashes for comparison to their stored MD5s. - Use
/h:Intrinsic,PcmCRC32to generate.flacor.wavCRCs that should match their rip.logcopy CRCs. (Note that this CRC is automatically generated when rip checking is enabled.) - Use
/h:SHA256to generate SHA256 hashes suitable to copy to a.sha256file. Intrinsic hashes aren't generated in this example. - Use
/h:0to disable all hash generation.
Filebert granularizes control over validation of hash files due to potentially long running times. Existence checking of playlist files is also settable.
<validations> is 0 or a comma-separated list from:
-
Exists: Checks file references in.cue,.m3u,.m3u8files. -
MD5: Validates MD5 hashes in.md5files. -
SHA1: Validates SHA1 hashes in.sha1and.sha1xfiles. -
SHA256: Validates SHA256 hashes in.sha256files.
- Use
/v:Exists,MD5,SHA1,SHA256to enable all hash validations and file reference checks. - Use
/v:0to disable all hash validations and file reference checks.
Some issues may be repaired. To enable repairs, use the /R switch.
Repairs must be individually confirmed.
These are the repairable issues:
- A phantom
.mp3ID3v1 tag. - Old EAC bug that sometimes created an
.mp3with a bad ID3v2 tag size. - End-of-file watermarks on
.avi,.mp4,.mkvfiles. - Incorrect file names in
.cuefiles. - Incorrect extensions.
Filebert performs checking of compact disc rips made using either the EAC or XLD disc extraction programs.
Combining rip checking with /R will enable repairing of bad .cue file references.
Combining with /strict indicates if an EAC rip folder is archival quality.
The core of rip checking is matching of .flac audio CRCs to copy CRCs in the .log file.
Enabling rip checking also augments FLAC tag analysis and supports .cue file repairing.
- Use
/flacripto verify rip integrity of.log,.flacand.cuefiles by folder. - Use
/flacrip /Rto verify integrity of rips and enable repairs for bad.cuefile references.
For more EAC-to-FLAC rip examples, see the wiki Home.
Filebert performs checking of compact disc rips made with either the EAC or XLD disc extraction programs. While archival quality can be indicated for FLAC rips, only limited assurance can be made for MP3 rips due to their lossyness.
- Use
/mp3ripto verify matching track counts of.log,.mp3and.cuefiles.
Filebert can perform a deep analyse of FLAC tags with the /tags switch.
Combine with the /flacrip switch to expand this analysis to the rip level.
Combine with /strict to escalate the severities of selected tag issues.
- Use
/tags /flacripto analyse rip-level tag consistency. - Use
/tags /flacrip /strictto indicate if tagging is the bestest.
Later versions of EAC .log files end with a self hash that can be used to validate themselves.
This requires an internet connection to send the each .log file to the EAC server.
Verification of EAC .log self hashes without an internet connection is not supported at this time.
Verification of XLD .log signatures is not supported at this time.
- Use
/webcheck /f:*.logto check only.logfiles and verify any EAC self hashes online.
Filebert promotes two levels of success:
- A minimum level to indicate if basic integrity is maintained. This is the default.
- A maximum level to indicate archival quality. Get this with the
/strictswitch.
The /strict switch does not affect what checks are performed -
only reporting is affected by escalating the severities of selected issues.
- Use
/tags /strictto ensure FLAC tags are highest quality.
The /f switch is commonly used to check files with a single extension.
This switch rarely works well with rip checking.
- Use
/f:*.logto check only.logfiles. - Use
/f:*.md5 /v:FileMD5to validate only.md5files. - Use
/f:*to also check files with extensions unknown to Filebert.
Usage is shown whenever a bad argument is encountered.
To see usage without using a bad argument, use the /? switch.
By default, the windowed Filebert doesn't begin checking files until the Check button is clicked.
To begin checking as soon as launched, use the /check switch.
- Append
/checkto aFilebertWin.exeshortcut target to begin checking as soon as the shortcut is launched.
By default, the console Filebert exits immediately after checking is complete.
To wait for the escape key to be pressed, use the /k switch.
- Append
/kto aFilebert.exeshortcut target to pause its sessions before exiting.