info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs bulk remove/add


From: Robin Rosenberg
Subject: Re: cvs bulk remove/add
Date: Tue, 09 Nov 2004 18:57:21 GMT
User-agent: KNode/0.8.0

Alex Valentine wrote:

> One of our developers has a simple task. He wants to move a boatload of
> files from one directory /lib to a new directory /src/lib. How can this
> be done in CVS without having to individually add and remove each file?
> 
> 

X=`echo *pattern1* *pattern2*`
mv $X /otherlib
cvs remove $X
cvs ci -m "Moved to /otherlib" $X
cd /otherlib
cvs add $X
cvs ci -m "Moved from /lib" $X

-- robin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]