Share via


-G Option (Command Line)

Sets options for a retrieved working copy. Many of the switches for this option provide command-specific overrides that can be set in the Ss.ini file.

The following table lists ways to use the -G option.

  • -G
    Specifies retrieval for a local version.
  • -G-
    Specifies no get operation.
  • -GCC
    Determines whether the local copy of the file is current by comparing the file's contents.
  • -GCD
    Specifies that a date and time comparison is used to determine whether the local copy of the file is current.
  • -GCK
    Specifies the use of a checksum to determine whether the local copy of the file is current.
  • -GF
    Enables the Force_Dir initialization variable for this command.
  • -GF-
    Disables the Force_Dir initialization variable for this command.
  • -GL<path>
    Copies a file to the specified folder, not to the current or working folder.
  • -GN
    Specifies the linefeed as the end-of-line character in text files.
  • -GR
    Specifies the carriage return as the end-of-line character in text files.
  • -GRN
    Specifies the carriage return–linefeed pair as the end-of-line character in text files.
  • -GTC
    Specifies that the working copy is given the current date and time.
  • -GTM
    Specifies that the local copy is given the date and time that the file was last modified, not the current date and time.
  • -GTU
    Specifies that the local copy is given the date and time that the file was last checked in, not the current date and time.
  • -GWA
    Displays a dialog box asking you to choose replacing, skipping, or merging write-only files on get and checkout operations.
  • -GWM
    Merges write-only files on certain operations (get and checkout).
  • -GWR
    Replaces write-only files on certain operations (get and checkout).
  • -GWS
    Skips write-only files on certain operations (get and checkout).

See Also

Reference

Force_Dir Initialization Variable

Other Resources

Command Line Commands
Command Options