2020-03-30, 02:28
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:
If that doesn't work, take a look at the value of IDS with:
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...
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:
as it should be multiple space delimited numbers.text:
echo "$IDS"
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...