[RELEASE] Texture Cache Maintenance utility
(2014-02-04, 18:42)CrazyCanuck Wrote: Also, in a similar example you give in the first post

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.

On reflection, sed is probably safest...
./texturecache.py s "size=thumb" 2>&1 1>/dev/null | sed "s/.*: //"

I've updated the first post, thanks.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.

Messages In This Thread
RE: [RELEASE] Texture Cache Maintenance utility - by Milhouse - 2014-02-04, 20:18
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 utility17
This forum uses Lukasz Tkacz MyBB addons.