[clue-admin] CVS Publishing Script

Jeff Cann president at clue.denver.co.us
Fri Dec 17 17:55:08 MST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 17 December 2004 9:01 am, Jed S. Baer wrote:
> On Fri, 17 Dec 2004 05:29:36 -0700
>
> Jeff Cann wrote:
> > > Ah, were it that simple, to just be able to default to "give me the
> > > most recent stuff". But export does require either -D or -r
> >
> > today=`date +%F`
> > cvs export -D $today website/blah
> >
> > Seems pretty simple - it will pull whatever is committed by today's
> > date.
>
> Oh yes, but of course I want it to be even *more* simple! :) Even cvs
> export -D today project isn't simple enough -- it should read my mind!
> (And cvs even understands date terminology such as fortnight -- was
> Cederqvist British?)
>
> Tried it with an appended directory name and it still gets the whole
> project, not just what's in that sub-directory.

Use cvs export -l to get a particular directory:

$ today=`date +%F`
$ cvs export -D $today -l website/directory/

will extract only the contents of directory

Jeff

P.S.  Cederqvist is French, AFAIK
- -- 
Colorado Linux Users and Enthusiasts (CLUE)
http://cluedenver.org/
Jeffery Cann, President


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBw3/v8E9qvtPugKYRAndFAJwM2hqQcnbDmCCPj5sMDnS9QghJOACeI7Oc
CffmzpKSjjdPN8q0DfIwXDc=
=hjtN
-----END PGP SIGNATURE-----




More information about the clue-admin mailing list