SHARE
TWEET

clearlastplayed.sh

a guest Apr 7th, 2019 184 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2. #clear_played.sh
  3.  
  4. for f in /home/pi/RetroPie/roms/**/gamelist.xml
  5. do
  6. echo "file: $f"
  7. grep -e lastplayed -e playcount -v $f > "$f.tmp"
  8. mv -f "$f.tmp" $f
  9. done
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top