How to compress json file on May 19, 2023 with No comments For a single file use this: jq -c . all_json_words.json > minify_words.jsonto use it in a for loopfor file in *.json; do jq -c . "$file" > "${file%.json}.min.json"done Share: Email ThisBlogThis!Share to XShare to Facebook Related Posts:Converting .ts to .mp4 or .mkv using ffmpeg in LinuxHow to compress json fileHow to Convert SVG to PNG on LinuxMake Android Emulator Working on Fedora i3wmHow to watch Dragon Ball in order by canon
0 Comments:
Post a Comment