psRenameFile

Description

     This program renames a source file to a target file.   This program
is similar to the 'mv' or 'rename' operating system command, except that
this program is not so easily thwarted by incoming signals or 0
hard link numbers on files.   If there is a 0 hard link problem,
this program copies the old file to the new.  If the source
file has the 0 hard link problem, then this program truncates
the old file since a delete is not possible.

 

Syntax

psRenameFile -Ssource_file -Ttarget_file -Flog_file

 

Arguments

-S

Source File Name [REQUIRED]

-T

Target File Name [REQUIRED]

-F

Output log of messages [standard output]

-O

Options

 

Options

d

Delete new file first

 

Environment Variables Behind the Scenes

PS_SYSMSG_FILE

For the location of the system-wide messages file.

 

Go to DBPowerSuite 7.9 List of Programs.


Updated: Thu Jun 18 21:12:26 2009