[clue-admin] CVS Publishing Script

David Anselmi anselmi at anselmi.us
Fri Dec 17 10:00:54 MST 2004


Jed S. Baer wrote:
[...]
>>In that case though, I'd export straight
>>to $NEWDIR.  What do you gain by exporting to /tmp and then tar'ing 
>>across (which could also be a cp it seems)?
> 
> The reason for that is that the actual html directory is one-deep in the
> website project. If I could do 'cvs export website/html' then I'd get the
> files where I want them.

Export will do this.  Here's what you want:

cvs export -d .../new_html -r HEAD website/html

This pulls only the files you want and puts them where you want.  If you 
don't use -d you get the leading website/ in the exported path.

Dave



More information about the clue-admin mailing list