Why We Built Zero Byte Handler
In enterprise IT environments we use integration and automation scripts for implementing complex data processes. One such automation can be the processing of files. Even though all automated processes should have exception handling, unfortunately, this is not always the case. We ceated Zero Byte Handler command line tool, in order to help you with your automation scripts. The tool handles zero-byte files thus enabling you to easily set exception handling logic for such cases in your scripts.
Zero Byte Handler is a command line tool that allows the user to easily handle the problem of empty files (also known as zero-byte files). The tool provides several switches which the user can utilize in order to set up scripts for automated handling of scenarios where zero-byte files may be mistakenly generated and affect other automated processes.
Figure 1: Screenshot of Zero Byte Handler.
List of Available Options:
- Deletes zero byte files.
- Moves zero byte files.
- Exports zero byte files list.
- Logs all actions.
- Quiet mode.
- List zero byte files:
- Delete zero byte files without confirmation (Quiet Mode):
ZeroByteHandler.exe [SourceDir] /D /Q
- Move zero byte files without confirmation (Quiet Mode):
ZeroByteHandler.exe [SourceDir] /M [DestDir] /Q
- Move zero byte files, export list, and write log:
ZeroByteHandler.exe [SourceDir] /M [DestDir] /E [ListFileName.ext] /L [LogFileName.ext]
Figure 2: Listing zero byte files in local directory.
Figure 3: Deleting zero byte files in local directory (with user confirmation).
Figure 4: Deleting zero byte files in local directory (without user confirmation - In Quiet Mode).
Figure 5: Moving zero byte files, export list, and write log (without user confirmation - In Quiet Mode).