GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CP-BUILD (1)

NAME

cp-build - copy a file to a destination with version numbering and auditing

CONTENTS

Synopsis
Description
     Command Line Options
Files
See Also
Author

SYNOPSIS

cp-build filename [destination] [:override=option[,options]] [:lock=option]

DESCRIPTION

The cp-build command will copy a file to a destination directory or file, while appending a version number to the end of the final destination, and setting up a symbolic link from the final destination to the new version of the file it creates. The user must have write access to the destination audit file in order to run the command. The audit file is used to interlock against concurrent copies to the same final destination and to enforce various rules controlling the copying.

The actual destination data file is left with a read-only protection.

    COMMAND LINE OPTIONS

destination
  The destination defaults to the setting of the environment variable CP_BUILD_DESTINATION and may be either a directory or a file.
:override=XXXXX
  The XXXXX is used to force the command to go ahead and copy the file to the destination even if certain rules have been violated. The defined rules are old,same,size. Which prevent an old file, the same file, or a file of a radically different size from being copied to the destination. Currently only the same rule is implemented.
:lock=option
  The option defaults to error which will result in any error if any other process is doing a cp-build concurrently. The option may also be specified as wait which will cause the cp-build to wait the other process has released its lock on the audit file.

FILES

/usr/local/bin/siod /var/shlib/libsiod.so

SEE ALSO

siod http://people.delphi.com/gjc/siod.html

AUTHOR

George Carrette, GJC\@delphi.com
Search for    or go to Top of page |  Section 1 |  Main Index


--> CP-BUILD (1C) LOCAL

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.