The Retrieve Command
Top  Previous  Next


Purpose: To retrieve the archived revision of files.
Syntax: CSRCS Retrieve [command-switches] "file1" ["file2" …]
Abbreviation: ret
Switches:
   /s – Handles files in the specified directory and all sub-directories.
   /p"ProjectName" – Performs operations on all the files in the project.
   /d"date" – Retrieves the last revision created before a specific date (if any).
   /nname – Retrieves a revision marked with a symbolic name (if any).
   /a"AlternateWorkRoot" – Retrieves to an alternate working directory.
   /q – Quiet mode. Does not display dialog box and status messages.
Exit code: 0 – success; 1 – otherwise.

Notes:
·/d and /n are mutually exclusive. If neither of them are specified, the head revision is retrieved.  
·Valid date formats are: DD-MMM, DD-MMM-YY, DD-MMM-YY HH:MM or HH:MM. Some examples are:  
15-Jun-97 10:45, 16-Jun, and 20:00.  
·You may use the /n switch to retrieve the head revision of any branch. To do so, specify the B_xxx symbolic name assigned to the branch anchor.