If you mean the second case then you need some kind of utlility to remove or move to proper location the files in the cache dir. I made one (in my signature) but you can get some other available that do the same.