Closed chrisroos closed 1 year ago
I'd appreciate someone testing these changes on a Mac to make sure I haven't broken anything there. You should be able to test with:
gds aws govuk-integration-readonly --assume-role-ttl 3h ./bin/replicate-mongodb.sh content-store
This ran on my mac, monterey 12.6.6
Awesome. Thanks @KludgeKML and @beccapearce :+1:
The
\d
in the regexp passed to grep isn't supported in the GNU version of grep. I understand that the equivalent[[:digit:]]
should work in all implementations.The
-z
option totar
results in the following error on linux:The
-z
option filters the output through gzip but I don't believe this is necessary because we're explicitlygunzip
ing the dump before passing it totar
.With these two changes the script runs without error on my linux development environment.