next up previous contents
Next: listGUID Up: Catalog Commands Previous: listReplicas   Contents

Command Line Tool

usage: edg-replica-manager listReplicas fileName
List all replicas of a file.

 Arguments:
  fileName              The LFN, GUID or SURL to list all replicas of.

List replicas as they are registered in the Replica Catalog.

Semantics

Depending whether you specify an LFN, GUID or SURL as the input filename the edg-replica-manager will issue different commands to the underlying services. The result is always the same: a list of SURLs that are replicas of the same file.

Arguments

fileName
The filename from which to get all replicas. It must be a valid Logical File Name, GUID or Storage File Name.

Options

no options.

Return value

The call returns 0 on success and -1 on failure and prints all SURLs that are replicas of the input filename to stdout, one on each line.

Errors

The call can fail for many reasons. Some of the reasons are:


next up previous contents
Next: listGUID Up: Catalog Commands Previous: listReplicas   Contents
2005-02-04