Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Thanks for this suggestion. I've run this as a script in the folder where all the .json files are, and it has been running for 4 hours so far. It appears to access every file in the folder, but not make any changes (I can follow it using FileZilla ftp). It seems it is simply looping through every .json file in the folder over and over again, without changing anything. Is there something I need to change in the script you provided? I know almost nothing about shell scripting. If it matters, this is running on a remote server. Commented Nov 23, 2016 at 18:35
  • UPDATE: I tested the script on a much smaller folder and it works! For my folder (15GB, 10k files) I will probably simply have to leave it running for a day or two! Commented Nov 24, 2016 at 6:25
  • @Zwentibold yeah that's a lot of processing, there may be ways to improve this script for performance. Commented Nov 24, 2016 at 7:07