20 lines
496 B
Bash
20 lines
496 B
Bash
|
#!/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
|
|||
|
|