From a1a9cfcef4c6e5b9199c2765427de01a5b5bbbf3 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Sat, 3 Jun 2023 00:59:10 -0700 Subject: remove usb remote, change monero node export file dir names --- etc/.cfgl/config | 3 --- home/xyz/.local/bin/upd | 5 +---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/etc/.cfgl/config b/etc/.cfgl/config index 57825631..4caba004 100644 --- a/etc/.cfgl/config +++ b/etc/.cfgl/config @@ -14,6 +14,3 @@ [branch "master"] remote = origin merge = refs/heads/master -[remote "usb"] - url = /run/media/xyz/bd0/git_repos/config_local_arch - fetch = +refs/heads/*:refs/remotes/usb/* 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 } -- cgit v1.2.3-70-g09d2