LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-09-2012, 10:08 AM   #1
rayandrews
Member
 
Registered: Sep 2010
Posts: 78

Rep: Reputation: 2
Howto remove unneed printer files.


Greetings all,

I've been trying to trim the fat out of my install of LMDE. I have a sort of gut level need to keep my computers as free as possible from useless files. Bleachbit and orphaner did good work, like getting rid of Azerbajani help files that I can get by without (I often wonder why that stuff is included by default in most distros). Anyway, I'm just wondering if anyone has any good ideas of where/how I might do some deeper cleaning. In particular, during my last backup, I noticed hundreds of what look like printer definition files scrolling past on my screen and I'm wondering if I could delete them.
 
Old 06-10-2012, 03:27 PM   #2
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 718

Rep: Reputation: 102Reputation: 102
Lightbulb



If you are comfortable with your knowledge of the system then "find" can help you pin point zero calorie files.

Adjust the parameters to what you are aiming to accomplish. After you review and tweak then add the -exec option to delete. You need to be certain though.

If not ....


Code:
sudo find / -type f -and -atime +30 -and -size 250K

-------------------------------------------------------

sudo find / -type f -and -atime +30 -and -size 250K -exec rm {} \;
 
Old 06-10-2012, 04:02 PM   #3
nixblog
Member
 
Registered: May 2012
Posts: 426

Rep: Reputation: 52
You could also remove the contents of /usr/share/doc. Icons are another bloat too.

Also, I like to use ncdu to interactively look as to where file bloat is. To install in LMDE,

Code:
sudo apt-get install ncdu
 
  


Reply

Tags
printer driver


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
howto trace and remove intruders Fred Caro Linux - Newbie 12 01-18-2010 11:37 PM
howto remove-customize soft tbl Puppy 4 10-01-2006 01:33 AM
Howto remove firefox from opt Mykewl Ubuntu 2 04-19-2006 11:22 PM
VNC howto remove background? humbletech99 Linux - Networking 3 10-14-2005 05:53 AM
howto manually remove hardware mcalizo Linux - Hardware 5 04-29-2005 08:32 AM


All times are GMT -5. The time now is 03:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration