Advertisement
Guest User

clearlastplayed.sh

a guest
Apr 7th, 2019
1,037
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement