You are not logged in.

#1 2014-07-16 03:54:14

Hspasta
Member
Registered: 2011-12-24
Posts: 189
Website

fom: Pacman Cache Cleaner

fom

fom is a bash script that keeps a certain number of cached packages per install. It uses regex to grab base package names from package files and counts them. I've tested the regex to work on all my packages, but I'm not sure I've covered all corner cases. I would recommend running the test script to see what it tells you.

It's a small and sane way to keep some backups since pacman just nukes all of them.

Links:

Offline

#2 2014-07-16 08:50:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: fom: Pacman Cache Cleaner

How is it different from paccache?

Offline

#3 2014-07-16 09:18:57

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,678
Website

Re: fom: Pacman Cache Cleaner

paccache -vrk 3 smile
"A" for effort though.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2014-07-16 12:56:02

Hspasta
Member
Registered: 2011-12-24
Posts: 189
Website

Re: fom: Pacman Cache Cleaner

Well poop.

Offline

#5 2014-07-16 17:27:53

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: fom: Pacman Cache Cleaner

Competition is always good wink

Offline

Board footer

Powered by FluxBB