Dump results from bitcoin-qt debug console to file

2

I would like to issue some commands in the Bitcoin-qt console and save their output to a text file (ideally, filter it before saving). Is there a way to do that, similar to how I would use grep and > in a regular Linux terminal?

Sergei Tikhomirov

Posted 2018-05-29T09:46:40.593

Reputation: 1 189

Answers

1

You can install bitcoin-cli, and update your bitcoin.conf to enable the RPC server. bitcoin-cli will let you pipe the output from the commands through to any shell commands you want, or redirect to a file.

Raghav Sood

Posted 2018-05-29T09:46:40.593

Reputation: 10 897