dev/bash/scripts/privateMe.sh

20 lines
496 B
Bash
Raw Normal View History

2011-04-07 14:30:45 +04:00
#!/bin/sh
# Очистить историю, кеши , корзину а также память
rm -rf /won/.Trash*
rm -rf ~/.local/share/Trash
rm -rf ~/.thumbnails
mozdir=~/.mozilla/firefox/*
rm -rf $mozdir/Cache
rm -f $mozdir/*history*
for f in content-prefs.sqlite cookies.sqlite; do
rm -f $mozdir/$f
done
rm -f ~/.recently-used.xbel
rm -f ~/.recently-used
rm -f ~/.nautilus/saved-session-*
rm -f ~/.compiz/session/*
rm -f ~/.metacity/sessions/*.ms
killall nautilus gnome-panel
exit 0