-
Notifications
You must be signed in to change notification settings - Fork 72
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
Add CLI support to convert a whole folder at once #31
Comments
Try if this bash script works: #!/bin/bash
for filename in dns-zones/json/*.json; do
zonefile "$filename" > "dns-zones/bind/$(basename "$filename" .json).txt"
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From json to bind and vice-versa
E.g. zonefile -g dns-zones/json --out dns-zones/bind --extension ".txt"
The text was updated successfully, but these errors were encountered: