HWRF  trunk@4391
ush.hwrf_deliver Namespace Reference

A test program for the produtil.fileop.deliver_file() function. More...

Detailed Description

A test program for the produtil.fileop.deliver_file() function.

This program provides access to the produtil.fileop.deliver_file() function to shell programs. It was originally used to test that function, but it can also be used in scripts for other purposes. It is called as follows:

1 [.sh]
2  hwrf_deliver.py [options] [--] fromfile tofile

It will copy the fromfile to the tofile file or directory without leaving the destination file in an incomplete state. This is accomplished by copying to a temporary file in the same directory and renaming that file to the final filename. If requested, a simple move (like "mv") is done if possible.

Options: