Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argument list too long #1

Open
moom0o opened this issue Jun 4, 2021 · 1 comment
Open

Argument list too long #1

moom0o opened this issue Jun 4, 2021 · 1 comment

Comments

@moom0o
Copy link

moom0o commented Jun 4, 2021

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

@coolaj86
Copy link

coolaj86 commented Oct 20, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants