[REL] [TOOL] [WINDOWS] Delete Everything Except .json files

Discussion in 'Mod Discussions' started by Corang, June 1, 2014.

  1. Corang

    Corang Well-Known Member

    Messages:
    772
    Likes Received:
    313
    For those of you doing major re-balancing mods this will be very helpful, although it is only for windows, sorry mac and linux users

    The way this works is you put the test.bat into the same directory as the units folder and it copies all of the jsons to a folder called DeleteTheOtherOneThenRenameMeToUnits. After it finishes (it takes maybe 5 seconds) you delete the folder called units and rename the other one to units, all that is left is to edit the jsons then, you don't have to worry about deleting the .papa files

    Attached Files:

    • test.zip
      File size:
      211 bytes
      Views:
      5
  2. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
  3. mered4

    mered4 Post Master General

    Messages:
    4,083
    Likes Received:
    3,149
    SXX, stuart98 and squishypon3 like this.
  4. Mereth

    Mereth Active Member

    Messages:
    330
    Likes Received:
    164
    We have Powershell on Windows, that's not as powerful as a POSIX environment, but it can do that easily too :

    Copy-Item SOURCEPATH DESTPATH -Recurse -Container -Filter *.json -Force

Share This Page