1#if you have enough disk space(df -h) and inode space (df -i), the
2#folder with lots of files, "cache" folder in this example, may be
3#messed up and will likely be fixed with:
4mkdir cache_new
5chmod ugo+rwX cache_new
6mv cache cache_old
7mv cache_new cache
8rsync -av cache_old cache/