Re: freeing up iceweasel .sqlite file size (was: Re: regards the /)
- To: debian-user@lists.debian.org
- Subject: Re: freeing up iceweasel .sqlite file size (was: Re: regards the /)
- From: Chris Bannister <mockingbird@earthlight.co.nz>
- Date: Sat, 1 Oct 2011 17:11:02 +1300
- Message-id: <[🔎] 20111001041102.GA3075@fischer>
- In-reply-to: <1317408177.4089.5.camel@pc-steven.LAN>
- References: <CAG9cJmkc9A+EiMP9n6Eok0qh57mnJrMySesxoAP+gBoqfd6bxw@mail.gmail.com> <pan.2011.09.21.15.10.53@gmail.com> <CAG9cJmn4udF7nnfOhyUa4sbdA4ToadZS8S2nsKkkktYazQuf6g@mail.gmail.com> <pan.2011.09.21.16.24.10@gmail.com> <20110930170340.GA18164@fischer> <1317408177.4089.5.camel@pc-steven.LAN>
On Fri, Sep 30, 2011 at 08:42:48PM +0200, Steven wrote:
> I have written a small script (3 lines) to keep track of that:
> for f in ~/.mozilla/firefox/*/*.sqlite; do ls -lh $f ; done
> time for f in ~/.mozilla/firefox/*/*.sqlite; do sqlite3 $f 'VACUUM;';
> done
> for f in ~/.mozilla/firefox/*/*.sqlite; do ls -lh $f ; done
Its very noisy, what about:
echo "Starting to Vacuum ... "
df -h
time for f in /home/*/.mozilla/firefox/*/*.sqlite;
do
echo "Vacuuming ... $f";
sqlite3 $f 'VACUUM;';
done
df -h
--
"Religion is excellent stuff for keeping common people quiet."
-- Napoleon Bonaparte
Reply to: