[RELEASE] Texture Cache Maintenance utility
Looking at this a bit more closely, could I achieve it by saving output of s "Beatles" to shell variable. Then run d option on this set or row ids. And then finally run c to re-cache what I just deleted? Like this:

Code:
IDS=$(./texturecache.py s "Beatles" 2>&1 1>/dev/null | cut -b71-)
[ -n "$IDS" ] && ./texturecache.py d $IDS
./texturecache.py c albums

Also, in a similar example you give in the first post

Code:
IDS=$(./texturecache.py s "size=thumb" 2>&1 1>/dev/null | cut -b19-)
[ -n "$IDS" ] && ./texturecache.py d $IDS

You're cutting first 18 bytes; however, output seems to have more characters before first row ID is outputted. Perhaps your output has changed since the first post? I used -b71- to get first row ID of results.

Thanks.
Reply
 
Thread Rating:
  • 17 Vote(s) - 4.76 Average


Messages In This Thread
RE: [RELEASE] Texture Cache Maintenance utility - by CrazyCanuck - 2014-02-04, 18:42
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
Cleaning - by AleisterHH - 2018-05-28, 22:03
RE: Cleaning - by Milhouse - 2018-05-28, 22:16
qax genre not updated - by Just-Me_A-User - 2018-06-12, 22:06
RE: qax genre not updated - by Milhouse - 2018-06-12, 23:40


Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility4.7617