Publisher review:safecat implements Dan Bernstein's maildir algorithm, copying standard input safely to a specified directory. safecat implements Dan Bernstein's maildir algorithm, copying standard input safely to a specified directory. With safecat, the user is offered two assurances.
First, if safecat returns successfully, then all data is guaranteed to be saved in the destination directory. Second, if a file exists in the destination directory, placed there by safecat, then the file is guaranteed to be complete.
To use safecat, you specify a destination directory, but not a file name. Safecat picks the filename uniquely every time. That way many safecat processes (and other programs) can write to the directory simultaneously. If you want a particular filename, then you just rename the file after safecat completes.
In general you should use a single, separate process to do things like renaming, collecting, and deleting files. You can run the process as a daemon, in cron jobs, or from a mail reader.
safecat 1.13 is a C/C++ script for E-Commerce scripts design by Len Budney.
It runs on following operating system: Linux / BSD.
Operating system:Linux / BSD