summaryrefslogtreecommitdiff
path: root/home/xyz/.local
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-06-14 14:58:33 -0700
committerXiao Pan <gky44px1999@gmail.com>2023-06-14 14:58:33 -0700
commit71245132b6c0ec9d33814b821c221ffdcf835557 (patch)
treed037ff8d5c14cce6c9fbf4a68c446799e28d0ec8 /home/xyz/.local
parent8e73c75eee87a99ac0d433492925f6b3f7120cee (diff)
use insp SSD instead of bd0 HDD for monero-blockchain-export, because my benchmark shows it is about 3x faster and I do not need multiple copies of exported blockchain
Diffstat (limited to 'home/xyz/.local')
-rwxr-xr-xhome/xyz/.local/bin/upd4
1 files changed, 1 insertions, 3 deletions
diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd
index 55ff85dd..c56c307e 100755
--- a/home/xyz/.local/bin/upd
+++ b/home/xyz/.local/bin/upd
@@ -117,9 +117,7 @@ usb () {
xmr () {
# 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 /run/media/xyz/bd0/user_owner_dir/monero_blockchain.raw
- # not sure if useful or not
- sync
+ monero-blockchain-export --output-file "$XDG_DOWNLOAD_DIR/xmr/monero_blockchain.raw"
}
music () {