1 |
Neil Bothwick wrote: |
2 |
|
3 |
>Or you can do it automatically with |
4 |
> |
5 |
>qpkg -I -nc -v | while read p; do |
6 |
> touch --no-create $PKGDIR/$p.tbz2 |
7 |
> touch --no-create $PKGDIR/All/$(basename $p).tbz2 |
8 |
> done |
9 |
>find $PKGDIR ! -mtime +1 -exec rm "{}" \; |
10 |
> |
11 |
> |
12 |
|
13 |
Since qpkg is being phased out, I guess the equery way to do this is: |
14 |
|
15 |
equery -C l 2> /dev/null | grep / | while read p; do |
16 |
touch --no-create $PKGDIR/$p.tbz2 |
17 |
touch --no-create $PKGDIR/All/$(basename $p).tbz2 |
18 |
done |
19 |
find $PKGDIR ! -mtime +1 -exec rm "{}" \; |
20 |
|
21 |
Right? qpkg is a lot faster, though. |
22 |
|
23 |
-- |
24 |
"Pluralitas non est ponenda sine necessitate" - W. of O. |
25 |
|
26 |
-- |
27 |
gentoo-user@g.o mailing list |