about summary refs log tree commit diff
path: root/sh
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-11-20 00:53:53 -0800
committerXiao Pan <gky44px1999@gmail.com>2023-11-20 00:53:53 -0800
commit901f31b19bb744c73f74445846d6522e09bc0bfb (patch)
tree63b96c209c2b54f23a9a1a13c0c2c68a2844ba94 /sh
parent5c4aaf601b28356b682865fc2a3fb505c7dbc25d (diff)
update
Diffstat (limited to 'sh')
-rw-r--r--sh/snippets4
1 files changed, 4 insertions, 0 deletions
diff --git a/sh/snippets b/sh/snippets
index 95e6669..6836083 100644
--- a/sh/snippets
+++ b/sh/snippets
@@ -49,3 +49,7 @@ f < ~/downloads/news > ~/downloads/cc_news
 ka:/home/xyz/a b/c d
 ka:/home/xyz/a b/c d
 EOF
+
+# use cd to workaround monero-blockchain-export.log log file save in current dir? issue, haven't tested
+cd "$HOME/.bitmonero" || exit
+monero-blockchain-export --output-file "$XDG_DOWNLOAD_DIR/xmr/monero_blockchain.raw"