fixjson icon indicating copy to clipboard operation
fixjson copied to clipboard

Argument list too long

Open moom0o opened this issue 4 years ago • 1 comments

Is it possible to add something like a queue to prevent the Argument list too long error? Thanks

moom0o avatar Jun 04 '21 04:06 moom0o

You can use (with literal single quotes):

# current directory
fixjson '*.json'

# current directory and all subdirectories, recursively
fixjson '**/*.json'

# exactly the first child directory
# (not the current directory, no grandchildren)
fixjson '*/*.json'

This causes fixjson to use its glob module to walk the directory rather than the shell passing all of the JSON files as strings.

coolaj86 avatar Oct 20 '23 22:10 coolaj86