Extraction of latest files from cvs repository

Hi everyone..
Anybody having idea to get the latest file from CVS repository through schell scripts.
Thanks in advance.

Regards
shahid Bakshi

Other than cvs co and/or cvs up ...?

Hi shahidbakshi
this link gives you the list of unix commands for CVS
use it accordingly
CVS Commands

HI

CVS CO OR checkout works to extract files from specific module.I need info to extract the latest version file. Actually need to develop script for extraction of latest files from CVS.

Commands used :
export CVSROOT=:peserver:username@IP :/var/cvs-abc
After this i execute cvs co .
Plz let me know how it can be embedded in script.

Thanks in advance
Regards
Shahid Bakshi:confused:

I don't see what the problem is. You put those commands in the script? By its nature, CVS checks out the latest version of every file in the project / module. Do you mean you want exactly one file only?

If what you get is not what you want, you might need to elaborate on what you are getting, and why it is wrong. (For example, if you need to figure out in which branch the latest change occurred, that's a bit more interesting, and challenging. I've been using SVN for the last few years, but IIRC you can parse the output of "cvs rlog" to see what happened where.)