Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Looking to use scm query for finding files that have been modified in a date range. Has anyone done this?

 We would like to find all files within a project area or a component that have been modified with a date range. 

 I assume this is possible using 'lscm query --file" command. 
  However, I am not able to find the complete details of all the arguments of for the --file option. 
http://www.ibm.com/support/knowledgecenter/SS2L6K_6.0.2/com.ibm.team.scm.doc/topics/query.html  

0 votes



One answer

Permanent link
I believe it supports the following:
attribute_name = attribute_value
has_attr(attribute_name)
in_baseline(baseline_uuid)
I don't think you could provide a date as the attribute because the date attribute would be for a change set and not for the file.

Another way to find out is as follows:
scm list changesets --workspace <workspace> --component <component> --created-after <date> --create-before <date>
and then list the changes in each of the change sets returned
scm list changes <changeset uuids...>
Note: The same file may be part of multiple change sets.

Take a look at the help for the above commands for more information

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,014

Question asked: Nov 29 '16, 2:02 p.m.

Question was seen: 1,985 times

Last updated: Nov 29 '16, 11:17 p.m.

Confirmation Cancel Confirm