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

Renaming multiple files

 can we rename multiple files/artifacts through script or if any in RTC

i use Rtc shell (SANDBOX)to deliver artifacts into repository 
to rename any artifact i  right click on that file and select Rational team concert->rename option .Using this option i could rename only one file at a time
Im looking for a solution where i could rename multiple files to different (each file to named unique)names through script or any other possibility

Thank you

0 votes



3 answers

Permanent link
I can not imagine how anyone could answer this question.
  • There is nothing like an Eclipse shell. there is a Windows shell integration and an Eclipse client.
  • There is no option Rational team concert -> rename option I can find in the RTC Eclipse client.
  • In Eclipse it is very dependent on the view, which information you see.
  • RTC is also only involved in the rename of a file, if it is under source control and the new name needs to be tracked.
If you refer to the Eclipse client and e.g. F2 or Refactor>Rename, that is only enabled for a single selection, probably because it is not designed to rename multiple files, since you would name all with the same name, which would not work.

0 votes


Permanent link

Thank you Ralph

I apologize for my way of presenting the query and I corrected it
 
I understood that I cannot rename multiple files at once which is not possible 
My requirement is to rename existing ( for eg "n" Number of files to "n" Different names) files through any script where in it should reflect in my repository when I work through SANDBOX. 

0 votes


Permanent link

You can use the RTC "scm" command line tool to script the rename of multiple files.

In particular, if you want to do the move in a sandbox, you would use "scm move path".
If you want to do the move directly in the repository, you would use "scm move repository-path".

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

Question asked: Mar 04 '20, 9:12 p.m.

Question was seen: 805 times

Last updated: Mar 05 '20, 9:50 a.m.

Confirmation Cancel Confirm