How to add CVS files recursively?

This Comment will be submitted for moderation and will not be accessible to other users until it has been approved.


6 points

I am using CVS to access and commit my files. How do I add my files recursively from the linux command shell into CVS?

Please help



4 points

Use the following command to recursively add files or directories to CVS:

find . -type d -print | grep -v CVS | xargs -n1 cvs add
find . -type f -print | grep -v CVS | xargs -n1 cvs add

First one to recursively add directories into CVS and second to recursively add files into CVS.

Anonymous's picture
Created by Anonymous

Post Comment

  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.