aboutsummaryrefslogtreecommitdiffstats
path: root/bin/rmcache
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-05-08 20:22:16 +0200
committerDavid Runge <dave@sleepmap.de>2016-05-08 20:22:16 +0200
commit08845cec6393482a60493e465f0ba13727386f5b (patch)
tree8282cffd99ca2a12dfb3d34a7f82a28ac26d71b5 /bin/rmcache
parent9cfb64c997b8e5f095c75f39641762f44d3307c2 (diff)
downloaddotfiles-08845cec6393482a60493e465f0ba13727386f5b.tar.gz
dotfiles-08845cec6393482a60493e465f0ba13727386f5b.tar.bz2
dotfiles-08845cec6393482a60493e465f0ba13727386f5b.tar.xz
dotfiles-08845cec6393482a60493e465f0ba13727386f5b.zip
bin/set_volume: Making script not depend on functions.sh anymore. Introducing bash strict mode.
Diffstat (limited to 'bin/rmcache')
-rwxr-xr-xbin/rmcache32
1 files changed, 0 insertions, 32 deletions
diff --git a/bin/rmcache b/bin/rmcache
deleted file mode 100755
index acba953..0000000
--- a/bin/rmcache
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/bash
-
-USERDIR=$1
-
-echo "rmcache cleaning up: $USERDIR"
-
-caches=".cache/chromium"
-caches+=" .cache/thumbnails"
-## take care of the whitespace!
-caches+=" .config/chromium/Default/*Index*"
-caches+=" .thumbnails"
-caches+=" .opera/cache4"
-caches+=" .opera/cache"
-caches+=" .java/deployment/cache"
-caches+=" .local/share/Trash"
-caches+=" .gnome2/epiphany/mozilla/epiphany/Cache"
-caches+=" .adobe/Acrobat/*/Cache"
-caches+=" .adobe/Acrobat/*/Temp"
-caches+=" .macromedia/Flash_Player/*"
-caches+=" .adobe/Flash_Player/AssetCache"
-caches+=" .java/deployment/cache"
-
-pushd $USERDIR > /dev/null
-
-for cache in $caches
-do
- echo "removing $cache"
- rm -Rf "$cache"
- [ $? -eq 0 ] || exit 1
-done
-
-popd > /dev/null