CVS add script

Script to add a tree to Concurrent Versions System (CVS) recursive. You do have to write your password to each file.

/usr/local/bin/cvs_add

#!/bin/bash

dir=${1-"."}

pushd "$dir" > /dev/null

  echo -n "adding files in "
  pwd

  cvs add *

  for subdir in `ls -dp * | egrep "/$" | egrep -v "CVS"`
  do
    "$0" "$subdir"
  done

popd > /dev/null
Knowledge keywords: