#!/bin/bash

user='user'
srm_options='-rlv'

wipe_dirs=( "/home/$user/.cache/thumbnails/large" "/home/$user/.cache/thumbnails/normal" "/home/$user/.thumbnails/large" "/home/$user/.thumbnails/normal" "/home/$user/.cache/thumbnails/fail" "/home/$user/.cache/mozilla/firefox/$firefox_profile/thumbnails" )

echo "Wiping thumbnails .."; sleep 2

for wipe_dir in "${wipe_dirs[@]}"
do
   : 
   if [ -d "$wipe_dir" ]; then
      srm "$srm_options" "$wipe_dir"
   fi
done


