]> git.pld-linux.org Git - packages/rpm-build-tools.git/blame - get-all-specs.sh
- list by size, show total
[packages/rpm-build-tools.git] / get-all-specs.sh
CommitLineData
5ba10466 1#!/bin/sh
84b866a1
MWP
2# get only *.spec files from packages/
3# thx SamChi,pawelz
4
d85b44c5
MWP
5# run script in ./packages directory
6
7# change cvs to your login name
8CVSUSER=cvs
9
10export CVSROOT=:pserver:"${CVSUSER}"@cvs.pld-linux.org:/cvsroot
11cvs login
12cd ..
f32f63b8 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.060686 seconds and 4 git commands to generate.