[RELEASE] Texture Cache Maintenance utility
(2020-03-30, 02:28)Milhouse Wrote: Oops, sorry! I pasted the command I used for testing, you're using a different date.

What follows is the command you need. Run it as before, two commands, one command per line:
text:

IDS=$(./texturecache.py x "where lastusetime <= '2019-03-05'" 2>&1 1>/dev/null | sed "s/.*: //")
[ -n "$IDS" ] && ./texturecache.py d $IDS

If that doesn't work, take a look at the value of IDS with:
text:

echo "$IDS"
as it should be multiple space delimited numbers.

It's also possible there's a command line limit on the length of the command line - if that's the case then we'll need to be a little more creative...
Thanks.
Reply


Messages In This Thread
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
RE: [RELEASE] Texture Cache Maintenance utility - by sniferx1 - 2020-03-30, 03:00
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility17