I have one requirement where i need to copy Clearcase particular version's directory and subdirectory files to another location via python. When I used shutil.copytree function it copies the folders files but the problem is it creates the files as directory type.
ex:
source = "testfolder/@@/main/1"
destination = "/home/myid/test"
shutil.copytree(source, destination)
For the above code i am getting all the file names as directory type.
could you help me how to copy particular version's folders to another location in python or in unix (clearcase)