I'm wanting to use the `bucket_inspector` contrib function (but have zero
Erlang experience).

Following the "usage" page, I do the following:

$ /opt/riak/erts-5.7.5/bin/erlc -o /tmp /tmp/bucket_inspector.erl$
riak attach([email protected])1> code:add_path("/tmp").([email protected])2>
m(bucket_inspector).([email protected])3>
bucket_inspector:inspect(<<"bucket">>, '[email protected]').

And it works.

Now, if I want to run that non-interactively, as a script, how should I
proceed?

I played around with escript but I can't seem to load the Riak path (so the
script will fail at `code` et al)

Thanks,

Francisco
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to