You are not logged in.

#1 2007-10-26 16:02:54

quex
Member
Registered: 2007-10-05
Posts: 4

Cleaning junk files?

Hello, my question for you all is this...

It's my understanding that over time any system will build up junk files that were used by packages that have since been uninstalled, or files that are no longer used by a newer version of some program, and so on.  The thought of this bothers me, and at the current time, disk space is at a bit of a premium.  What's the best way to deal with this short of Windows-style ritual formatting?

Thank you in advance!

Offline

#2 2007-10-26 16:09:31

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Cleaning junk files?

You're mistaken. If you uninstall packages with pacman -Rn (to also remove config files or anything else listed in the backup= array) there will be no junk left. The only stuff that accumulates on your system over time are the usual logfiles in /var/log (see logrotate and syslog-ng docs on how to tweak that) and dotfiles/folders in your homedir from unused applications.


1000

Offline

#3 2007-10-26 16:11:23

quex
Member
Registered: 2007-10-05
Posts: 4

Re: Cleaning junk files?

What a beautiful system.  Any problems with dead-end links being left hanging around?  Any sort of file maintenance to do at all besides what you described?  Thank you!

Offline

#4 2007-10-26 16:34:48

john_schaf
Member
From: France
Registered: 2007-02-24
Posts: 104

Re: Cleaning junk files?

What about per-app config file located in /home/me/.my-app ?
I don't think these are ever removed when removing a package (and that's fine) so that there are still some "junk" files building up...

Offline

#5 2007-10-26 16:56:42

kensai
Member
From: Puerto Rico
Registered: 2005-06-03
Posts: 2,484
Website

Re: Cleaning junk files?

Well, the /home/me/.my-app config folder should be safely removed by the user if he decides he never wants to use that application again, this folder only contains the settings you used for that file, most of the time. Also if you are worried about junk in general you can use KleanSweep available in community, but beware is a KDE application so you might not want it if you use GNOME because of the KDE dependencies. Also a warning, you should be an advanced user to not make any mistakes with this application, you can delete useful configuration files if not cautious.


Follow me in: Identi.ca, Twitter, Google+

Offline

#6 2007-10-26 17:05:34

Don-DiZzLe
Member
From: Nederland
Registered: 2007-03-31
Posts: 233

Re: Cleaning junk files?

U could try a GTK file cleaner called fslint, located at http://www.pixelbeat.org/fslint/

Excellent tool, I use it myself mainly for empty dirs and temp files.

Offline

Board footer

Powered by FluxBB