Open televisi opened 7 months ago
Thanks! It looks like that BusyBox version of grep doesn't support options in --written-like-this format, only single letters. From the grep man page:
-v, --invert-match
Invert the sense of matching, to select non-matching lines.
You can replace --invert-match in the script with -v. If that fixes works ok, feel free to submit a PR.
Cheers
You can replace --invert-match in the script with -v. If that fixes works ok, feel free to submit a PR.
Thanks! I've done my first pull request; hopefully it works okay. I also added "BORG_RSH" variable too
Great, thanks, merged. I tweaked it to always use -v, for compatibility everywhere.
Hi
This is not an issue but more a discussion.
Great script! I wonder whether there is a way to update the script so that it can run from within the borgmatic docker instance - which most likely is using busybox.
When I tried to run the script from within borgmatic docker, it threw this error:
If that is not possible, all good, I'll find another Linux box to run the check.
Thanks