Fabrice,

take the attached script. Run it. Press Enter when asked for a password.

rgds, Rainer


> Fabrice Papazian wrote:
> 
> Hello,
> I am new to this list,
> How can I have access to the CVS tree and download the latest file
> structure?
> Regards
> 
> Fabrice PAPAZIAN -  CTO -  CEDEMO Ltd   - http://www.cedemo.com
> Tel Direct : 377 97984162 - Mobile : +377 6 80 86 52 85  - Fax : 377
> 97984161
> 
> 


#!/bin/sh

if [ "$1" == "" ]; then
    $0 avifile
    exit 0
fi

cd `dirname $0`    

mkdir -p $1
cd  $1

if [ "`grep "pserver:anonymous@cvs.$1.sourceforge.net:/cvsroot/$1"
${HOME}/.cvspass`" == "" ]; then
    echo "enter return for anonymous access:"
    cvs -d:pserver:anonymous@cvs.$1.sourceforge.net:/cvsroot/$1 login
fi
    
cvs -z3 -d:pserver:anonymous@cvs.$1.sourceforge.net:/cvsroot/$1 co . |
tee ../${1}.lastlog

echo finished    

cd ..    
fname=$1-`date "+%Y-%m-%d_%H-%M"`.tar.bz2
gtar cIf $fname $1

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to