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

How to download all files and their previous 5 versions from a RTC project/component

 Hi all,


Need some help and advice here?

We have a big RTC project which contains many thousands of files on last 10+ year. Now, I would like to download each file and their previous 5 versions with correct folder structure. If possible, I would like to preserve the checkin timestamp of the files too.

Thanks.

0 votes



One answer

Permanent link

 Download to do what?  What are 5 previous versions considering branches?


Here the options I am aware of: 
  1. Create the repository workspace/stream that select the version you want. 
  2. Create an Eclipse workspace/sandbox and load the files of the repository workspace.
  3. Use the scm command line to load the file version you want.
  4. Use the API e.g. see https://github.com/jazz-community/ewm-scm-utils to download the files
  5. In the current version there is a command to export all versions for a component, not sure if it is a repotools command or in the SCM command line.
     

0 votes

Comments

Hi Ralph,

Thanks for your help!
1. We would like to upload those files and their previous 5 version to Sharepoint for a project. 
2. The previous 5 versions of a file is not necessary a branch. Just the versions of those word doc, excel and visio that our customers checked in.
3. Regarding the scm command line to load the file version, can I loop each folder and each file, then find out the version information and download each version? 

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
× 10,953
× 7,510
× 1,340

Question asked: Oct 30 '23, 7:31 p.m.

Question was seen: 777 times

Last updated: Oct 31 '23, 2:23 p.m.

Confirmation Cancel Confirm