Replicate a file given the surl or the pfn
dpm-replicate [ --f_type file_type ] [ --space_token s_token ] [ --lifetime file_lifetime ] [ --help ] file
dpm-replicate replicates a file given the SURL or the PFN.
file_type
indicates the type of file desired for the new replica. It can be V (for Volatile), D (for Durable) or P (for Permanent).
file_lifetime
specifies the requested file lifetime of the new replica relative to the current time. It can be "Inf" (for infinite) or expressed in years (suffix 'y'), months (suffix 'm'), days (suffix 'd'), hours (suffix 'h') or seconds (no suffix). If specified the file_type and file_lifetime must be compatible.
s_token
specifies that the new replica should be allocated within a space identified by the given token.
dpm-replicate --f_type P /dpm/cern.ch/home/dteam/afile dpm-replicate --f_type V lxb1921.cern.ch:/storage/dteam/2005-12-14/afile.38215.0
This program returns 0 if the operation was successful or >0 if the operation failed.
dpm(1), dpm_get(3), dpm_put(3)