Clearing lastplayed and playcount on Windows ES
-
I have been searching for a way to clear the lastplayed and playcount data on ES for Windows with no luck whatsoever. I have only found @tanstaafl script for retropie but I have no idea how to properly run it on windows. Does anyone have a script or would be kindly enough to translate @tanstaafl´s one for windows? Thanks in advance! Also, this is my first post so I am very sorry if i broke any rules.
This is @tanstaafl´s script:
#!/bin/sh
#clear_played.shfor f in /home/pi/RetroPie/roms/**/gamelist.xml
do
echo "file: $f"
grep -e lastplayed -e playcount -v $f > "$f.tmp"
mv -f "$f.tmp" $f
done
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.