summaryrefslogtreecommitdiff
path: root/home/xyz
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-06-03 00:59:10 -0700
committerXiao Pan <gky44px1999@gmail.com>2023-06-03 00:59:10 -0700
commita1a9cfcef4c6e5b9199c2765427de01a5b5bbbf3 (patch)
tree14b4eab9ad6e8cc76e83480f2e17d32bbd104c2f /home/xyz
parent0046b5b623c93350fe64126558e7d48311e3592b (diff)
remove usb remote, change monero node export file dir names
Diffstat (limited to 'home/xyz')
-rwxr-xr-xhome/xyz/.local/bin/upd5
1 files changed, 1 insertions, 4 deletions
diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd
index 1245ec22..4ccc9c4b 100755
--- a/home/xyz/.local/bin/upd
+++ b/home/xyz/.local/bin/upd
@@ -96,10 +96,7 @@ refl () {
}
usb () {
- cfg -l push usb
cfg -s push
- git --git-dir="$XDG_DOCUMENTS_DIR/notes/.git/" --work-tree="$XDG_DOCUMENTS_DIR/notes/" push usb
- git --git-dir="$HOME/programs/reminders/.git/" --work-tree="$HOME/programs/reminders/" push usb
#rsync -navPR --delete ~/archive ~/documents ~/downloads ~/music ~/pictures ~/programs ~/test ~/videos ~/.local/share/stardict/dic ~/.local/share/qBittorrent ~/.local/share/sdcv_history ~/.cache/nsxiv ~/.config/qBittorrent ~/.bitmonero/wallets ~/.password-store /run/media/xyz/bd0
# --files-from make -a not imply -r, so need to specify explicitly
@@ -112,7 +109,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/archive/monero/blockchain.raw
+ monero-blockchain-export --output-file /run/media/xyz/bd0/user_owner_dir/monero_blockchain.raw
# not sure if useful or not
sync
}