I checkout this structure from CVS :
root/project/dir1/dir2 to My_CVS_Dir. I've another folder My_Dir and there is dir3 which I copy to My_CVS_Dir and get that structure in My_CVS_Dir, root/project/dir1/dir2/dir3.
I do an CVS update and update generate this list:
? in line one means something is new for CVS (because of dir3)
U in line 2-4 means files are unchanged.
I'm going to have this kind of list with many ? because there are many new directories to add under dir2. And in general there can be many subdirectories like dir4/dir5/dir6 to add under dir2.
My question is to how to write this in Bash...If there is just one dir3 to add then it is simple I just use thes commands: mkdir dir2 and CVS add dir3. But if there are many directories under dir3 so how do I check that...
May be my question is not clear...please feel free to ask more informatio.
...and there is dir3 under dir2. dir3 has fil1....file10. As we know when we do a "CVS add"to a directory we don't need "CVS commit". I add dir2 and dir3 w.h.o the above command. The dir(s) are commited to CVS. What about file1....file10? I guess they need a separate commit?
(Since it is a add/commit to CVS, I don't want to mess things ....)