Gentoo Archives: gentoo-user-de

From: "Andreas Prieß" <ap@××××××××××.net>
To: gentoo-user-de@l.g.o
Subject: Re: [gentoo-user-de] Aufräumen von distfiles?
Date: Sun, 06 Nov 2005 23:28:53
Message-Id: 436E9153.8000609@metaphysis.net
In Reply to: [gentoo-user-de] Aufräumen von distfiles? by Christian Panten
1 Christian Panten wrote:
2 > gibt es einen Befehl, mit dem man das Verzeichnis
3 > /usr/portage/distfiles
4 > aufräumen kann. Es ist bei mir mittlerweilen 3.4 GB groß.
5 >
6 > Ich meine jetzt nicht: rm -rf /usr/portage ;-)
7 > Es sollten schon die Files drinbleiben, die ich noch brauche.
8
9 Unter
10 http://evvl.rustedhalo.net/software/gentoo/
11 findet sich das Skript distclean, das diese Aufgabe perfekt erledigt:
12
13 root@berry ~ # distclean-0.3 --help
14 distclean v0.3
15
16 Usage: distclean [-h,--help] [-d,--delete] [-p,--pretend] [-m,--move dir]
17 [-q ,--quiet] --nospinner
18
19 --help (-h short option)
20 Shows this help screeen.
21
22 --delete (-d short option)
23 Deletes the outdated file(s) in the distfiles directory.
24
25 --pretend (-p short option)
26 Lists the outdated file(s) in the distfiles directory.
27
28 --move dir (-m dir short option)
29 Move the outdated file(s) to the given directory.
30
31 --quiet (-q short option)
32 Just list the outdated files, no extra junk.
33
34 --nospinner
35 Turns off the cute little spinner.
36
37 Damit kann man die veralteten distfiles auch zunächst verschieben und
38 dann noch nach belieben von Hand oder sonstwie weiter aussortieren...
39
40 --
41 Viele Grüße
42
43 Andreas

Attachments

File name MIME type
signature.asc application/pgp-signature