diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-06-03 00:59:10 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-06-03 00:59:10 -0700 |
commit | a1a9cfcef4c6e5b9199c2765427de01a5b5bbbf3 (patch) | |
tree | 14b4eab9ad6e8cc76e83480f2e17d32bbd104c2f | |
parent | 0046b5b623c93350fe64126558e7d48311e3592b (diff) |
remove usb remote, change monero node export file dir names
-rw-r--r-- | etc/.cfgl/config | 3 | ||||
-rwxr-xr-x | home/xyz/.local/bin/upd | 5 |
2 files changed, 1 insertions, 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 } |