]>
git.wh0rd.org - home.git/blob - .bin/cvs-import
4 if [[ ! -e ${dir} ]] ; then
5 echo "cvs-import: $1: directory does not exist" 1>&2
8 dir
=$
(realpath
"${dir}")
10 echo "Importing ${dir} and kids"
15 find .
-mindepth $1 -maxdepth $1 '!' '(' -name 'CVS' -o -wholename '*/CVS/*' ')' -print0
20 while [[ -n $
(find_files
${i}) ]] ; do
21 echo "Importing at depth ${i}"
22 find_files
${i} |
xargs -0 cvs
-Q add