]> git.pld-linux.org Git - packages/rpm-build-tools.git/blob - get-all-specs.sh
- list by size, show total
[packages/rpm-build-tools.git] / get-all-specs.sh
1 #!/bin/sh
2 # get only *.spec files from packages/
3 # thx SamChi,pawelz
4
5 # run script in ./packages directory
6
7 # change cvs to your login name
8 CVSUSER=cvs
9
10 export CVSROOT=:pserver:"${CVSUSER}"@cvs.pld-linux.org:/cvsroot
11 cvs login
12 cd .. 
13 #wget http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ -O - \
14 #       | perl -p -e 'if(m#a href="\./(.*?)/"#){$_=$1;s/%(..)/chr hex $1/eg;$_="packages/$_/$_.spec\0"}else{$_=undef}' \
15 #       | xargs -0 cvs -z3 get
16
17 # alternative
18 #wget http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ -O - \
19 #       |sed -e 's@<@@g;s@>@@g;s@"@ @g;s@\(name.*\)@\1@' \
20 #       |grep name |cut -d ' ' -f9
21 #       | xargs -0 cvs -z3 get
22
23 # the fastest way
24 #wget http://cvs.pld-linux.org/cgi-bin/cvsweb/packages/ -O - \
25 #       |sed -e 's@<@@g;s@>@@g;s@/@ @g;s@\(name.*\)@\1@' \
26 #       |cut -d ' ' -f6 \
27 #       |xargs -0 cvs -z3 get packages
This page took 0.026353 seconds and 3 git commands to generate.