Wipe out userland caches with shred, bleach bit is out of reach


 
Thread Tools Search this Thread
Operating Systems BSD Wipe out userland caches with shred, bleach bit is out of reach
# 1  
Old 05-23-2016
Wipe out userland caches with shred, bleach bit is out of reach

Another topic that bothers me on bsd is the missing of bleach-bit. Looking at what bleach-bit can clean, the new version, it wipes out all the caches of the user. May someone can give me a hint how to clean the userland in bsd and all the hidden caches for the user. shred all rubbish or LSA cookies remaining in


Code:
/home/user-name/.cache

n times? Thanks in advance.

In one installation with the KDE-Desktop I found Kdsweeper, but it seems out of reach in the MATE-Blend.

I read about this on stack-exchange just to make some few changes on the source-code of bleach-bit, but I think there should be another simpler way, thanks in advance.
I ask this here in bsd, otherwise the moderator moves my thread to script-issues.

So I maybe found some files to clean up that I consider useless for me but may this is causing me some trouble after my last update. So BSD 10.3. (Desktop no Server)I do have some two or three questions after my last shutdown.
Last update a week ago worked fine, everything.
I began to clean up the directory /user/.cache/thumbnails after every session, because there has been a huge number of tiny alphanumerical .png files and after that on every shutdown clearing
Code:
 /user/home/somebody-as-user/.local/share/Trash

to bin the files

Code:
info

Code:
files

Todays booting up throws me back to the latest working version before the update of last week. Last thing I did before shutting down, was to deinstall to applications I really do not use.
So do I need a thumbnail factory, do I need a double version about files in the bin?
And may a last question about updating, how to exchange the openssh-key, required to jump to instable version 11, which is supposed to go for by upgrading?
Thanks in advance


As far as I have been searching aroung you can automize it to wipe out the caches
in
Code:
/home/usr/some-usr/.local/share/Trash

asking for the content of the hidden file in your usr account ./cache first. You will see tumbnails and within a folder fail and another one called normal.
Bin them both to trash, manually or via a script on shutdown.
When finally shutting down you can reconfigure your
Code:
rc.shutdown

having a close look at the runlevel for your machine, where
Code:
/etc/rc0.d

indicates to execute your script on starting up and
Code:
/etc/rc6.d

indicates to execute your command on shutting down.
I do it handpicked typing in the above mentioned folder as root

Code:
rm -rf info

and
Code:
rm -rf files

Hope this helps others, because I could not find loads of ohter traces, may I am not using that many audiovisual material or chitchat.
Once again, this is referring to bsd, not to debian based systems.

And looking on a Linux Distro what Bleachbit is wiping out, you can wipe out the following on your BSD without harming your configuration or restarting your browser
Code:
 /home/user/.cache/mozilla/firefox/something.default/safebrwosing/something-track-digest256.cache

this "something" is an alphanumerical sequence or hash number, so may you set a wildcard for it.

Last edited by 1in10; 09-26-2016 at 04:52 PM.. Reason: solved! finally
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. HP-UX

Wipe tool for HP-UX

Hi, Please suggest wipe tool for hp-ux. (2 Replies)
Discussion started by: manoj.solaris
2 Replies

2. Cybersecurity

How do I wipe stdout?

Today I used Terminal (invoked from Mac OS X 10.4.11) to view some data that is secured by a password. After exiting Terminal, it occurred to me that a vestige of the data displayed on my screen might reside in memory or in disk file ... the actual file used for stdout, for example. Do I need... (1 Reply)
Discussion started by: dcollins
1 Replies

3. UNIX for Advanced & Expert Users

shred multiple options

I've created a wxpython gui for the shred command. I can successfully mix and match all the shred options except two: -size and --random-source. (Man page definitions below). -size and --random-source seem to only work when they are used as the sole option passed. For example, I can zero a... (0 Replies)
Discussion started by: codecellar
0 Replies

4. UNIX for Dummies Questions & Answers

Shred utility

Hi experts. We have a HP-Unix server, we deleted some files and folders from the server. Is there any utilities that we can use to ensure those deleted files and folders are not recoverable? We used rm command to delete these files. Cheers, RT:confused: (1 Reply)
Discussion started by: robtseng
1 Replies

5. Solaris

Is it possible to recompile the kernel or any userland on Solaris

Hi I am a FreeBSD user Just want to know is it possible to recompile kernel or any other userland in Solaris 10 or OpenSolaris? I want check out this UNIX OS which has Flash 9 support :D (2 Replies)
Discussion started by: weinter
2 Replies

6. UNIX for Advanced & Expert Users

Wipe software for Hp-ux

I am looking for recommendations on DOD compliante software to wipe disk on HP-UX. Any recommendations would be appreciated. Thank you in advance for any assistance provided. (1 Reply)
Discussion started by: jim15800
1 Replies

7. Solaris

What do you use to wipe your disks?

What are y'all using to wipe your solaris disks? I am being question by IT Security, what I am using to wipe disk. Is anyone using a 3rd party utility? I have used the format utility in solaris previously. But they are looking for something commercial that I can use. Anyone have... (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies

8. UNIX for Dummies Questions & Answers

Help using shred instead of rm

Hi, I have this script which runs pretty well bar a couple of problems, I am trying to emulate the rm command and this means I can't use rm directory, I inted to alias my script to rm and then use mv to move files to a trash folder rather than delete forever. The problem: when I use mv to... (18 Replies)
Discussion started by: jack1981
18 Replies
Login or Register to Ask a Question