You are not logged in.

#1 2003-10-12 22:59:49

zen_guerrilla
Member
From: Greece
Registered: 2002-12-22
Posts: 259

A simple script that removes older packages from cache dir

Hello all,
I wrote a small bash script that removes packages (from cachedir /var/cache/pacman/pkg), older than the ones available in repositories (eg. if the current version of pacman is 2.6.3, it will remove pacman-2.6.2 from cachedir). It implements the functionality of debian's 'apt-get autoclean'.
Get it from http://www.kegep.tuc.gr/~manolis/archlinux/cleanold.sh.

Offline

#2 2003-10-12 23:59:06

DanEE
Member
From: Fribourg, Switzerland
Registered: 2003-07-10
Posts: 43

Re: A simple script that removes older packages from cache dir

Thx for this script!
That was exactly the thing I wanted to ask for!

Offline

#3 2004-04-13 10:05:55

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: A simple script that removes older packages from cache dir

:mrgreen:

Offline

#4 2004-04-15 12:53:06

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

Re: A simple script that removes older packages from cache dir

It's quite useful, thanks.

Offline

#5 2004-04-16 03:00:13

KalephOne
Member
From: Fortaleza, Brasil
Registered: 2004-04-02
Posts: 99

Re: A simple script that removes older packages from cache dir

thanks a lot for sharing this  big_smile


Kaleph
jabber: kaleph@jabber.org

Offline

Board footer

Powered by FluxBB