# This is a config file for prsync_depots.sh # # Set RunUser to the operating system user that this script should run as. # It should be the owner of the /p4/common and /p4/N/depots directories. RunUser=perforce # Set SourceHost to the source server name. SSH keys must enable password-less # ssh and rsync commands to the specified machine from the machine where # prsync_depots.sh is executed. SourceHost=syd-helix-04 # Set SourceBasePath to the directory containing depot directories exist on # the source server. This is typically the same folder returned by the # command: p4 configure show server.depot.root SourceBasePath=/p4/1/depots # Set TargetBasePath to the directory depot directories are to be copied to # on the target server. This often has the same value as the SourceBasePath. TargetBasePath=/p4/1/depots # Set a working directory. The directory that contains the working directory # must exist or be able to be created with 'mkdir -p'. This directory is # removed at the end of successful processing, and so typically has a temporary # name ending something like: $$.$RANDOM WorkingDir=/p4/1/tmp/rsync.$$.$RANDOM # Set DepotListFile to a file containing a list of named directories to copy # in order. If this is not set (i.e. if the value to the right of the equal # sign is empty), then all directories reported by 'ls -A' in the # SourceBasePath on the SourceHost machine will be copied and processed in # the order returned by 'ls -A'. DepotListFile=
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 29166 | C. Thomas Tyler |
Fixed typos in output messages. Renamed sample config file to improve interactions with command completion. |
||
//guest/tom_tyler/sw/main/prsync/prsync_depots.sample.cfg | |||||
#3 | 28825 | C. Thomas Tyler |
prsync_depots.sh v5.1.0: * Doc fixes * Added '-p' flag. * Replaced '-n' with '-y'; dry run is now the default. |
||
#2 | 28822 | C. Thomas Tyler |
Spell check doc fixes. No functional change. |
||
#1 | 28820 | C. Thomas Tyler | Added sample parallel rsync script. |