Nicodemis79

_dates.sh

Jan 13th, 2020
416
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.96 KB | None | 0 0
  1. #!/bin/bash
  2. # version 1.0 2019-01-01 (YYYY-MM-DD)
  3. ###
  4. # Adds semantic date sorting:
  5. # ONE:         @01:11 am: Regular US, European, & (J)apanese games in English.
  6. # TRANSLATED:  @02:22 am: (T)ranslated games with date of last update.
  7. # HACKS:       @03:33 am: ROM Hacks, Homebrew, & Demos with date of last update.
  8. # FOREIGN:     @04:44 am: Games that haven't been translated yet: (Japan)(China)(Taiwan).
  9. # MISSING:     @10:00 am: An empty file placeholder for new, rare, & hard to find ROMs.
  10. ###
  11. ONE=199101010111
  12. TRANSLATED=201912220222
  13. HACKS=201912250333
  14. FOREIGN=198904040444
  15. MISSING=200109111000
  16. find . -exec touch -c {} \;
  17. find ./_roms -exec touch -c -t $ONE {} \;
  18. find ./_roms -name "*(MISSING)*" -exec touch -c -t $MISSING {} \;
  19. find ./_roms -name "*(J)(T*" -exec touch -c -t $TRANSLATED {} \;
  20. find ./_roms -name "*(Japan)*" -exec touch -c -t $FOREIGN {} \;
  21. find ./_roms -name "*(China)*" -exec touch -c -t $FOREIGN {} \;
  22. find ./_roms -name "*(Taiwan)*" -exec touch -c -t $FOREIGN {} \;
  23. find ./_roms -name "*(Brazil)*" -exec touch -c -t $FOREIGN {} \;
  24. find ./_roms -name "*(Germany)*" -exec touch -c -t $FOREIGN {} \;
  25. find ./_roms -name "*(Russia)*" -exec touch -c -t $FOREIGN {} \;
  26. find ./_roms -name "*Hack*" -exec touch -c -t $HACKS {} \;
  27. find ./_roms -name "*Demo*" -exec touch -c -t $HACK {} \;
  28. find ./_roms -name "*Contra I*" -exec touch -c -t $HACKS {} \;
  29. find ./_roms -name "Adventure Island III*" -exec touch -c -t $HACKS {} \;
  30. find ./_roms -name "Adventures of Lolo I*" -exec touch -c -t $HACKS {} \;
  31. find ./_roms -name "Astyanax I*" -exec touch -c -t $HACKS {} \;
  32. find ./_roms -name "Batman I*" -exec touch -c -t $HACKS {} \;
  33. find ./_roms -name "BattleCity I*" -exec touch -c -t $HACKS {} \;
  34. find ./_roms -name "Blaster Master I*" -exec touch -c -t $HACKS {} \;
  35. find ./_roms -name "Bomberman I*" -exec touch -c -t $HACKS {} \;
  36. find ./_roms -name "Castlevania I*" -exec touch -c -t $HACKS {} \;
  37. find ./_roms -name "Darkwing Duck I*" -exec touch -c -t $HACKS {} \;
  38. find ./_roms -name "Destiny of an Emperor I*" -exec touch -c -t $HACKS {} \;
  39. find ./_roms -name "Dragon Warrior I*" -exec touch -c -t $HACKS {} \;
  40. find ./_roms -name "Dragoon X Omega I*" -exec touch -c -t $HACKS {} \;
  41. find ./_roms -name "Duck Hunt I*" -exec touch -c -t $HACKS {} \;
  42. find ./_roms -name "DuckTales I*" -exec touch -c -t $HACKS {} \;
  43. find ./_roms -name "Final Fantasy I*" -exec touch -c -t $HACKS {} \;
  44. find ./_roms -name "Gauntlet I*" -exec touch -c -t $HACKS {} \;
  45. find ./_roms -name "Ghost'n Goblins I*" -exec touch -c -t $HACKS {} \;
  46. find ./_roms -name "Kirby's Adventure I -*" -exec touch -c -t $HACKS {} \;
  47. find ./_roms -name "Little Nemo I -*" -exec touch -c -t $HACKS {} \;
  48. find ./_roms -name "Mega Man I*" -exec touch -c -t $HACKS {} \;
  49. find ./_roms -name "MLB Baseball Simulator 20*" -exec touch -c -t $HACKS {} \;
  50. find ./_roms -name "MLB Baseball Stars I*" -exec touch -c -t $HACKS {} \;
  51. find ./_roms -name "NFL Tecmo Super Bowl Hack*" -exec touch -c -t $HACKS {} \;
  52. find ./_roms -name "NHL94 -*" -exec touch -c -t $HACKS {} \;
  53. find ./_roms -name "NHL Nekketsu Hockey League 20*" -exec touch -c -t $HACKS {} \;
  54. find ./_roms -name "Ninja Crusaders I -*" -exec touch -c -t $HACKS {} \;
  55. find ./_roms -name "Ninja Gaiden I*" -exec touch -c -t $HACKS {} \;
  56. find ./_roms -name "Punch-Out I*" -exec touch -c -t $HACKS {} \;
  57. find ./_roms -name "Samurai Pizza Cats I*" -exec touch -c -t $HACKS {} \;
  58. find ./_roms -name "Shining Force I -*" -exec touch -c -t $HACKS {} \;
  59. find ./_roms -name "Shining Force II -*" -exec touch -c -t $HACKS {} \;
  60. find ./_roms -name "Shining in the Darkness I -*" -exec touch -c -t $HACKS {} \;
  61. find ./_roms -name "Streets of Rage II -*" -exec touch -c -t $HACKS {} \;
  62. find ./_roms -name "Streets of Rage III -*" -exec touch -c -t $HACKS {} \;
  63. find ./_roms -name "Zelda I*" -exec touch -c -t $HACKS {} \;
  64. read -p "Press [Enter] key to continue..."
  65. # Prefixes:
  66. #       1R:  Platformer Shooters (1-axis Run-N-Gun).
  67. #       2R:  Overhead Shooters (2-axis Run-N-Gun).
  68. #       3D:  Three-Dimensional Shooters.
  69. #       3H:  Horizonal, side-scrolling Shooters.
  70. #       3V:  Vertical, top-down-scrolling Shooters.
  71. #       3Z:  Miscellaneous Shooters: Non-scrolling Multi-directional, or Isometric scrolling, etc.
  72. #       BG:  Board games & TV show games.
  73. #      BMC:  Fishing games (Bass Master Classic).
  74. #   Disney:  Disney & Warner games for kids.
  75. #       F1:  1st-person & 3rd-person Racing games.
  76. #       F2:  Racing games with a birds-eye, overhead view.
  77. #     FIFA:  Soccer games.
  78. #     Golf:  Golf & mini-golf games.
  79. #    Mario:  All Mario games (except sports).
  80. #      MLB:  Baseball games.
  81. #      NBA:  Baseketball games.
  82. #      NFL:  Football games.
  83. #      NHL:  Hockey games.
  84. # Olympics:  Miscellaneous Summer & Winter sports.
  85. #  Pinball:  Pinball games.
  86. #     Pool:  Table-top Pool games.
  87. #     ROTK:  Sangokushi & Romance Of-the Three Kingdoms universe.
  88. # Simpsons:  All Bart & Krusty games that take place in the Simpsons universe.
  89. #    Sonic:  All Sonic games (except sports).
  90. #   Tennis:  Tennis games.
  91. #       VS:  Fighting games.
  92. #     WSOP:  Gambling games.
  93. #      WWF:  Wrestling games.
Advertisement
Add Comment
Please, Sign In to add comment