Get a file property for one or more resources.
Purpose
Get the value of a specific property
on one or more files or folders. See On Properties for a listing of
property types and their meanings.
Options and arguments
- [ -P | --password ] password for user ID in repository
- The password for the specified user ID in
the named repository. If this option is not included on the command
line, you are prompted for a password. If you specified a repository
URI or nickname for which you have stored credentials using the scm
login command, this option is ignored.
- [ -r | --repository-uri ] repository URI
- Specifies the repository in which to take
this action. If you have stored repository credentials using the scm
login command, you can use the nickname you supplied for
these stored credentials
- [ -u | --username ] user ID in repository
- Specifies a user ID that exists in the named
repository. If you specified a repository URI or nickname for which
you have stored credentials using the scm login command,
this option is ignored.
- key
- The name of the property to get the value of.
- files
- One or more files to display the properties of.
Example
$ scm property get jazz.mime src/junit/awtui/AboutDialog.java src/junit/awtui/Logo.java junit/awtui/ProgressBar.java
/tmp/cfas/cfa1/JUnit/src/junit/awtui/AboutDialog.java
jazz.mime - text/plain
/tmp/cfas/cfa1/JUnit/src/junit/awtui/Logo.java
jazz.mime - text/plain
/tmp/cfas/cfa1/JUnit/src/junit/awtui/ProgressBar.java
jazz.mime - text/plain