Using RTC 3.0.1, does "lscm move" work to move a file to a different subfolder?
![]()
Using RTC 3.0.1, does "lscm move" work to move a file to a different subfolder? I keep getting a error that the folder I'm in while running lscm (a layer or two under the Jazzhome folder) is not a shared folder or resource. So, I shared it, and it didn't work. I shared all the folders from the root down to where I was. Didn't work. The file I want to move is definitely in a local sandbox. (I'm trying to keep the history of the file changes. I don't want to simply recreate it in the destination and delete it from the source.)
So, I am trying to find out - is there any way to move a file and retain its history? |
One answer
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.
Comments
Sorry, I misinterpreted your question. Yes, it will move a file and retain history. At this point, it's difficult to understand what went wrong in your case. It would be useful if you provided the folder layout of what's already been shared, what you have loaded in your sandbox, and what command you tried to move the file.
ok - I'm running the command from (RTC_eclipse is my local jazzhome):
C:\RTC_eclipse\scmtools\eclipse
I have several real files to move, but this is a test command that I tried...
lscm move -u <username> -P <password> "\RTC_ws\Sandbox\Donna_test_instructions_v1\Donna_docs_for_test\Env_Docs\d1.txt" "\RTC_ws\Sandbox\Donna_test_instructions_v1\Donna_docs_for_test\Env_Docs\test\d1.txt"
I have tried this with and without the -u and -P. Also, I've tried with and without the quotes.
Every time I get the same response:
Could not initialize data area:
The directory "C:\RTC_eclipse\scmtools\eclipse" is not shared. This command must be run on a descendant of a directory that has either been shared or loaded.