It’s one of those fiddly things to recursively check-in an entire directory structure under Clearcase, and each time I do it I have to remember how. So I’m putting it into my long term memory here!
- Move to the parent directory of the directory you would like to check-in.
cd c:\my\local\folder c:\my\local\folder> dir 10/02/2011 14:58 <DIR> . 10/02/2011 14:58 <DIR> .. 10/02/2011 14:51 <DIR> dir_i_want_to_check_in 19/01/2011 15:35 97 file_i_want_to_check_in.txt
- Pick a location to check-in to.
- Ensure that the folder you are checking-in to is itself checked-in.
- The following will check-in all files in the current directory:
clearfsimport -rec -nset * Z:\path\to\dir
- The following will check-in the single specified directory in the current directory:
clearfsimport -rec -nset dir_i_want_to_check_in Z:\path\to\dir
cleartool protect -rec -chmod 777 Z:\path\to\dir\dir_i_want_to_check_in
No feedback yet
Form is loading...