-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcache-status
More file actions
executable file
·23 lines (20 loc) · 936 Bytes
/
cache-status
File metadata and controls
executable file
·23 lines (20 loc) · 936 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# we clear so that the first line of scroll-buffer is this!
(
clear
echo "========== CACHE BY NAME ========"
./ls .w/Cache/
echo
echo "========== CACHE BY SIZE ========"
./ls -Srh .w/Cache/
echo "======"
echo " `du -sh .w` - TOTAL"
) | ./wunquote
echo "------"
echo " `du -csh .w/*/*.ANSI | grep total` - ANSI (#`ls .w/*/*.ANSI | grep -c .`)"
echo " `du -csh .w/*/*.DOWN | grep total` - DOWN (#`ls .w/*/*.DOWN | grep -c .`)"
echo " `du -csh .w/*/*.TITLE | grep total` - TITLE (#`ls .w/*/*.TITLE | grep -c .`)"
echo " `du -csh .w/*/*.LINKS | grep total` - LINKS (#`ls .w/*/*.LINKS | grep -c .`)"
echo " `du -csh .w/*/*.URL | grep total` - URL (#`ls .w/*/*.LINKS | grep -c .`)"
echo " `du -csh .w/*/*.LOG | grep total` - LOG (#`ls .w/*/*.LOG | grep -c .`)"
echo " `du -csh .w/*/*.WLOG | grep total` - WLOG (#`ls .w/*/*.WLOG | grep -c .`)"
echo " `du -csh .w/*/*.ERR | grep total` - ERR (#`ls .w/*/*.ERR | grep -c .`)"