How to delete 100's of JSON files from 100's of folders at once?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Brandon_Byrnes
    PCHF Member
    • Jan 2017
    • 626

    #1

    How to delete 100's of JSON files from 100's of folders at once?

    I just downloaded my whole Google Photos archive, which included probably 300 folders, some folders with only 1 photo in it, and every folder contains a JSON file for every jpg. How do I delete these JSON files from all the folders without having to actually go into every folder and selecting them to delete, because that will take HOURS? I am running Windows 10 Pro. Oh and I’m pretty sure there is about 7,000 jpg’s so that means about 7000 JSON files.
  • veeg
    PCHF Director
    • Jul 2016
    • 8977

    #2
    Hello

    Hopefully some of our members will chime in soon..

    @Bruce @Rustys

    Comment

    • Rustys
      PCHF Member
      • Jul 2016
      • 7862

      #3
      1. Uncompressed the file that was downloaded
      2. Select the directory that they files are in
      3. Do a search for the JSON files
      4. Once the search is complete (may take a while) select the files and delete

      Comment

      • Bruce
        PCHF Member
        • Oct 2017
        • 10697

        #4
        start a command prompt and change the directory to the folder containing that photo archive.
        then type del *.json /s
        that will find and delete all files with a json extension from all subdirectories.

        Comment

        • Brandon_Byrnes
          PCHF Member
          • Jan 2017
          • 626

          #5
          Great guys thanks for the help, all json files are now deleted.

          Comment

          Working...