Infinite-File-Curtailer
Infinite-File-Curtailer copied to clipboard
Curtail is a utility program that reads stdin and writes to a file bound by size.
``` $ echo "test" | curtail -s 4G file.log -v crtl_cmdline_args: log level crtl_cmdline_args: output file size crtl_cmdline_args: output file path main: Starting process ver 1.0 crtl_signals_register: Registering SIGINT... crtl_signals_register:...
Add an option to retrieve the block size for a file and return an error if the filesystem type is not supported
Add an option to set the truncation size as a multiple of the block size
Add a command line option to allow the user to set a maximum data rate over a specified period of time. This would serve two purposes: 1. Prevent unnecessary disk...