Bonjour à tous, voilà un petit script que je viens de gratter.
Pour l'utiliser vous devez posséder Bleachbit:
Il utilise toutes les options de bleachit, sauf celles instables, et celles qui suppriment vos marques-pages.
Pour lancer le script:
Enregistrez le code sous: rev1_b-b.sh
puis
Voilà le code:
J'attends vos retours
Pour l'utiliser vous devez posséder Bleachbit:
Code:
sudo apt-get install bleachbit
Pour lancer le script:
Enregistrez le code sous: rev1_b-b.sh
puis
Code:
sudo bash rev1_b-b.sh
Voilà le code:
Code:
#!/bin/bash #Script by _47 for http://hackademics.fr using Bleachbit tool: http://bleachbit.sourceforge.net #This script must be saved as "rev1_b-b.sh" chmod +x rev1_b-b.sh choose=n echo -e "---------- \e[34;1m†| Auto-cleaning script by _47 http://hackademics.fr †|\e[0m --------- echo -e echo -e "\e[1mConfirm cleaning system? y/n\e[0m" read choose if [ "$choose" = "y" ]; then echo "System is cleaning up, please wait..." sudo bleachbit --preset --clean adobe_reader.* amsn.* amule.* apt.* audacious.* bash.history beagle.* chromium.* d4x.history deepscan.* easytag.logs elinks.history emesene.* epiphany.* evolution.cache exaile.* filezilla.mru firefox.cache firefox.cookies firefox.crash_reports firefox.dom firefox.download_history firefox.forms firefox.passwords firefox.session_restore firefox.url_history firefox.vacuum flash.cache flash.cookies gedit.recent_documents gftp.cache gftp.logs gimp.tmp gl-117.debug_logs gnome.* google_chrome.cache google_chrome.cookies google_chrome.dom google_chrome.form_history google_chrome.history google_chrome.session google_chrome.vacuum google_earth.temporary_files google_toolbar.search_history gpodder.* gwenview.recent_documents hippo_opensim_viewer.* java.cache kde.cache kde.* konqueror.* libreoffice.* liferea.* links2.history midnightcommander.history miro.cache miro.logs nautilus.history nexuiz.cache openofficeorg.* opera.* pidgin.* realplayer.* recoll.index rhythmbox.cache screenlets.logs seamonkey.* secondlife_viewer.* skype.chat_logs system.cache system.clipboard system.desktop_entry system.free_disk_space system.localizations system.recent_documents system.rotated_logs system.tmp system.trash thumbnails.cache thunderbird.cache thunderbird.cookies thunderbird.passwords thunderbird.vacuum transmission.cache tremulous.cache vim.history vlc.mru vuze.* wine.tmp winetricks.temporary_files x11.debug_logs xchat.logs xine.cache yum.clean_all yum.vacuum #This 3 options are not used for preserv your bookmarks, and because "system.memory" is in alpha test so it must be dangerous to use it. # #firefox.site_preferences #google_chrome.search_engines #system.memory echo -e "\n\e[32mSystem correctly cleaned.\e[0m" else echo -e echo -e "\n\e[31;1mSystem uncleaned (user's request)... stopping script.\e[0m" fi exit 0
J'attends vos retours
Commentaire