[cvsnt] How do I automate cvs add to run recursively in cvsntcommand line

Vladimir vab at borlas.ru
Fri Feb 25 07:24:32 GMT 2005


May be something like that:
-------------------------------
for i in `find_unx forms|sed -e 's,\\\\,/,g'|sort`
do
        if [ -f "$i" ] 
        then
                echo cvs delete -f "$i"
        fi
done
-------------------------------
I used this script yesterday to delete some files from a repositiory.
You need sh, find (renamed to find_unx), sed, sort (optional), echo.
You do not need all cygwin. It is too fat for this task. If you need i
can send you this programs to email

R> I tried windows find, but I could not find a way to execute cvs add each
R> time something was found.

R> Cvsnt gives me the cvs add command in Dos, but the find command in dos
R> is still lacking.

R> Brook Hurd


R> Brook Hurd wrote:

>>I have used CVS in multiple Linux environments.  It is easy using the
>>'find' command to add files recursively via CVS.  
>>
R> Just use 'find' on Windows then, using either Cygwin or MinGW.


-- 
Best regards,
 Vladimir                            mailto:vab at borlas.ru





More information about the cvsnt mailing list