#!/bin/sh ## ## SCRIPT: 01_fileLISTcleanDirs_AcerDesktop1_ver1_core.sh in $HOME/Rsync ## ## PURPOSE: This script is called by script ## '01_fileLISTcleanDirs_AcerDesktop1_ver1_RunCoreInTerminal.sh' ## to LIST files --- especially files in the user's home ## directory --- such as ## - thumbnail files in $HOME ## and ## - leftover files in 'cache' and 'Crash Report' ## $HOME subdirectories of web browser(s). ## ## HOW TO USE: Typically used at computer shutdown, via a desktop icon, ## just before using a desktop icon to backup the home directory ## via an 'rsync' script. ## ## Created: 2021jan15 Split off from bottom of script ## 01_fileCleanup_AcerDesktop1_ver1_core.sh ## Changed: 2021xxx00 ########################################## ########################################## ## LIST Seamonkey, Firefox, thumbnails, ## and Adobe directories that were cleaned. ########################################## ########################################## ################ LIST START ######################################## set - echo " LIST 'ls' STATEMENTS FOLLOW: " set -x read PRESS_ANY_KEY_toContinue ################ LIST SEAMONKEY ~/.mozilla FILES ########################## set - echo " ######################### Will LIST files under dir $HOME/.mozilla/seamonkey/eynie5lc.default/ " set -x read PRESS_ANY_KEY_toContinue ls -R $HOME/.mozilla/seamonkey/eynie5lc.default/ ################ LIST SEAMONKEY ~/.cache FILES ########################## set - echo " ######################### Will LIST files under dir $HOME/.cache/mozilla/seamonkey/ " set -x read PRESS_ANY_KEY_toContinue ls -R $HOME/.cache/mozilla/seamonkey/ ################ LIST FIREFOX ~/.mozilla FILES ######################## set - echo " ######################### Will LIST files under dir $HOME/.mozilla/firefox/7kxtmyvv.default/ " set -x read PRESS_ANY_KEY_toContinue ls -R $HOME/.mozilla/firefox/7kxtmyvv.default/ ################ LIST FIREFOX ~/.cache FILES ########################## set - echo " ######################### Will LIST files under dir $HOME/.cache/mozilla/firefox/ " set -x read PRESS_ANY_KEY_toContinue ls -R $HOME/.cache/mozilla/firefox/ ################ LIST THUMBNAIL FILES ################################### set - echo " ######################### Will LIST files under dir $HOME/.cache/thumbnails/ " set -x read PRESS_ANY_KEY_toContinue ls -R $HOME/.cache/thumbnails/ ## OLD Gnome2 location of thumbnail files. # ls -R $HOME/.thumbnails/ ########## LIST ADOBE-Macromedia Flash_Player FILES (?) ################## set - echo " ######################### Will LIST files under dir $HOME/.macromedia/Flash_Player/ " set -x read PRESS_ANY_KEY_toContinue ls -R $HOME/.macromedia/Flash_Player/ ## Not needed? # ls -R $HOME/.adobe/Flash_Player/ ################ END of LISTS ######################################## set - echo " ######################### END of files LISTS of 'to be cleaned dirs' in dir $HOME " set -x read PRESS_ANY_KEY_toFinish